Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!

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.