So I followed up this tutorial:
http://bulletphysics.org/mediawiki-1.5. ... ello_World
But I noticed that the ball doesn't bounce.I tried to find somethng useful but no one ever explained how to actually make it bounce.
I found this:
use fallRigidBody->setRestitution(1.0f); well,I used this,but still the ball doesn't bounce.
What would be the solution?
Making the ball bounce
-
- Posts: 5
- Joined: Sun Nov 11, 2012 6:18 pm
Re: Making the ball bounce
You need to set a non-zero coefficient of restitution for the ground as well.