[ODE] Frame rate problem: does sum of applied small forces equal to once applied total force in ODE ?

Daniel K. O. danielko.listas at gmail.com
Fri Aug 24 07:45:12 MST 2007

2007/8/24, Dmitry Medvedev <pegasi at inbox.ru>:
>   Where deltaTime - is a time between callback calls.

ODE (like most simulations) won't behave nicely with variable
timesteps. You could try running the simulation at higher rate than
the drawing; or run at lower rate, and interpolate the frames to draw.
Make sure the simulation is light enough to run properly in every
machine, and adapt the drawing rate.

See http://www.gaffer.org/game-physics/fix-your-timestep/ and the
Fixed Rate Pig from http://olofson.net/mixed.html

Daniel K. O.

More information about the ODE mailing list