Models don't stop moving after apparently stopping

Aug 16, 2010 at 2:02 AM

I've set the following properties of a few rigid bodies:


The models are acting as I expect except that they never come to a complete rest. They move and collide as I would like until they have apparently stopped. If I keep watching, I can see that they are still moving very, very slowly even though they are sitting on a flat static body.  I would like the models to stop moving after a second or so of resting on the static body. Does anyone have any ideas?



Aug 19, 2010 at 3:07 AM

Are you using CollisionSpheres?  There are a few ways to stop them:

- Increase LinearDamping/AngularDamping.

- Decrease the LinearMotionThreshold/AngularMotionThreshold.

- Increase the DynamicFriction, Decrease the StaticFriction (or vice-versa).

Good luck!

Aug 21, 2010 at 11:40 PM
Edited Aug 22, 2010 at 5:04 PM

Setting the Linear and Angular Motion Threshold did the trick, thanks!