[ODE] game loop and ODE loop out-of-sync

Achim Moller netcom2002 at gmxpro.de
Tue Mar 29 16:42:50 MST 2005


Hi,

there was a lot of information discussed on the mailing list about the
general timing of the game loop and how to include the call to ODE inside
this loop to keep a fixed time step.

But what happens if the actual game loop needs to deal with a variable delta
time, but ODE is stepped in this fixed interval segments?

In other words, using the recommended fixed-time stepping for ODE evaluates
the object positions at a fixed sample rate in time. But if the actual game
delta time is really variable, the game needs object positions 'between' the
sampeled ODE integration steps, right? Some sort of interpolation is needed!
Does anyone have done this? Any suggestions?

Thanks.
Achim


More information about the ODE mailing list