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

Jon Watte (ODE) hplus-ode at mindcontrol.org
Fri Aug 24 09:07:49 MST 2007



Dmitry Medvedev wrote:
>   The problem is that changing model_time_step change speed of objects moving, it can be only if sum of applied small forces over some time amount is not equal to the total force (sum of those applied force), applied once. Is it so? 
>   

That's because of the Euler integrator. You need to use a fixed step time.

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

Cheers,

          / h+




More information about the ODE mailing list