Objects stop- but keep jiggling...

Mar 5, 2010 at 7:08 PM

Hi, I LOVE this library, and I've used it to make a few circular objects fall from the 'sky' like the ragdoll simulator. Then they hit the ground and settle down, but they keep 'jiggling', kind of nervously moving about a little bit.

How can I stop that? Please point me to the docs if I missed it somewhere.



Mar 6, 2010 at 1:41 AM

Yeah this is actually a common issue in the Farseer Physics Engine (the underlying engine used by the Physics Helper).

But there are several things you can do to make it better. Take a look at the thread below....


... and keep in mind that you can get a reference to the Physics Simulator by using a line of code like below...

PhysicsControllerMain _physicsController = LayoutRoot.GetValue(PhysicsControllerMain.PhysicsControllerProperty) as PhysicsControllerMain;

... after which you can get access to the Farseer Simulator object by:


... from there you can toy directly with Iteration, Bias Factor, and the Inactivity Controller.

Hoper this helps!