Create billiards table with collision

how to create a billiards table with collision…just need a basic idea of how it can be done…and how the collison on all four walls can be achieved

Have you read the “Hello physics” tutorial?
The table spatial has to have a RigidBodyControl and your sphere needs something comparable (the difference is the colission shape is a Box, which wouldn’t fit a sphere)

http://wiki.jmonkeyengine.org/doku.php/jme3:beginner:hello_physics

1 Like

thanks for da help…