Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 1 Support › pool like item movements

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6757

    Vlad

    Hi

     

    How to implement pool like item movements (i.e. it have to reflect from pool table borders etc) but with constant speed, ie without deceleration in time

    thanks

    #6779

    Christian
    Felgo Team

    Hi Vlad,

    you can use a CircleCollider with no friction and applying an impulse to it, and the walls have some restitution which decrease the speed at contact. I would also look for pool examples for Box2D on Google, maybe you even find some open source projects with source code that you can use as a reference.

    Cheers, Chris

Viewing 2 posts - 1 through 2 (of 2 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded