Forums

OverviewV-Play 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
    V-Play 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.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support