Objects bouncing too hard

dreamtheater39
Posts: 13
Joined: Sat Nov 10, 2007 8:39 pm

Objects bouncing too hard

Post by dreamtheater39 »

Hi,

I've successfully got Bullet working in our engine, and its by far one of the best physics engines i've used! Really appreciate the hard work and effort thats gone into this wonderful engine!

Now coming to my problem, I've set up a simple world with standard objects (boxes, cylinders, spheres...NO trimeshes). The problem is, the objects seem to bounce real hard and changing the restitution parameters dont seem to help :(

For example, i'm dropping a box object onto another box floor, and the little box bounces off the surface. I'm trying to control the bounce and bring it to ZERO, like a heavy metal crate would fall to the ground. How do i achieve this?

Thanks in advance!
San
DevO
Posts: 95
Joined: Fri Mar 31, 2006 7:13 pm

Re: Objects bouncing too hard

Post by DevO »

Hi,

yes Bullet is really great rigid body engine!

I think you have this problem because Bullet is using impulse to resolve body penetration.
So if you have fast falling body on the floor then it will bounce away even if restitution is zero.

You can try to make time step smaller to may be reduce this bounce.
Box2D uses another approach to resolve penetration problem with no not introduce bounciness.
May be Bullet will support such approach it the future....

Please look here for more detail about this problem.
http://www.bulletphysics.com/Bullet/php ... f=6&t=1644