[ODE] Different behavior on different PCs (Try 2)

Nate W coding at natew.com
Fri Apr 25 16:23:01 2003


On Fri, 25 Apr 2003, Frederic Ferland wrote:

> How do programs using ODE usually manage to get the same behavior
> regardless of the speed of the computer being used?

The easiest way to get INconsistent behavior is to let the speed of the
computer determine the interval passed into dWorldStep.  If you pass a
constant value (rather than, for example, using the elapsed time since the
last step), you'll probably get consistent behavior.

-- 

Nate Waddoups
Redmond WA USA
http://www.natew.com