[ODE] want to make sure..

Roel van Dijk roelvandijk at home.nl
Wed Jul 2 14:12:01 2003


On Wednesday 02 July 2003 20:32, Fig TaTam wrote:
> Does the dWorldStep() function expects to receive time, in seconds, that
> elapsed from last update ?
It does expect the time in second, but it doesn't have anything todo with the 
last update. You just tell ODE to calculate a new state that is based on the 
previous state after a certain amount of time. But passing the time in 
seconds sinds the last update is a good way to keep ODE running at the same 
speed with as many updates per second as possible. If you would supply a 
constant step then the physics will run faster on a fast comp then on a slow 
comp.