[ODE] AutoDisable Disabled?

Jon Watte hplus-ode at mindcontrol.org
Thu Oct 7 11:59:52 MST 2004


> Is the AutoDisable feature actually implemented or is it only a planned 
> (but documented) feature?

It works very well, but you may need to tune the values used to trigger 
auto-disabling, depending on your specific stability. Also, make sure 
you use enough contacts per body so that they actually come to rest (at 
least four is recommended).

> Steptime is not fixed but taken from a millisecs clock.

That's a great way of not getting stability in your simulation. The 
cube will fall different amounts through the plane for each step, 
depending on time, and thus will have different amounts of force applied 
to it each step. Use a fixed timestep instead. To tie the fixed time 
step in a frame-rate independent way, have a look at:

http://www.mindcontrol.org/~hplus/graphics/game_loop.html


Cheers,

			/ h+




More information about the ODE mailing list