[ODE] Simulations running in real time?
Jon Watte
hplus-ode at mindcontrol.org
Mon Mar 28 10:49:10 MST 2005
http://www.mindcontrol.org/~hplus/graphics/game_loop.html
The reason your simulation jitters when changing the step time is twofold:
1) ODE uses a first-order integrator
2) if something is resting on something else, different timesteps will
make it fall differently deeply into that surface, leading to different
correction forces, and thus different exit velocities, so it won't
settle at steady state.
Cheers,
/ h+
-----Original Message-----
From: ode-bounces at q12.org [mailto:ode-bounces at q12.org]On Behalf Of Chris Royce
Sent: Monday, March 28, 2005 5:11 AM
To: ode
Subject: [ODE] Simulations running in real time?
Hello there I'm trying to get my simulation to run in real time,
Basically the problem I'm having at the moment is that the simulation is running at different speeds on different computers. I'm working in C++ and using the drawStuff interface.
I'm also noticing that by changing the dWorldStep value the motion varies quite considerably, whereas I'd expected to run simply faster or slower ?
Thanks for any advice
Chris
More information about the ODE
mailing list