You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a cuboid dynamic object (drawn as a teapot) colliding with a static plane. When running the simulation, can see the teapot/cuboid fall and accelerate downwards, but when it hits the plane it stops dead.
I've set friction to zero, and coefficient of restitution to 1, so I'd expect an elastic collision, and for the teapot/cuboid to bounce back upwards, but that doesn't happen - can you please look at my code and see what I'm doing wrong?
Thanks!
The text was updated successfully, but these errors were encountered:
Hi,
I've created a simple demo app using nphysics, but rendering with glium at:
https://github.com/taumuon/rustygameproto
I have a cuboid dynamic object (drawn as a teapot) colliding with a static plane. When running the simulation, can see the teapot/cuboid fall and accelerate downwards, but when it hits the plane it stops dead.
I've set friction to zero, and coefficient of restitution to 1, so I'd expect an elastic collision, and for the teapot/cuboid to bounce back upwards, but that doesn't happen - can you please look at my code and see what I'm doing wrong?
Thanks!
The text was updated successfully, but these errors were encountered: