[ODE] jumping objects with real time and real gravition
Jon Watte
hplus-ode at mindcontrol.org
Fri May 14 09:58:54 MST 2004
Do you use a fixed step size? I've found that the #1 reason of jerkiness
is using a variable step size. The ODE integrator REALLY doesn't like
that. You can still run your simulation in real time with a fixed step
size; just take more steps when you need to. A simple illustration is
found here:
http://www.mindcontrol.org/~hplus/graphics/game_loop.html
Cheers,
/ h+
-----Original Message-----
From: ode-bounces at q12.org [mailto:ode-bounces at q12.org]On Behalf Of
Tobias Günther
Sent: Friday, May 14, 2004 5:32 AM
To: ode at q12.org
Subject: [ODE] jumping objects with real time and real gravition
Hi,
in my simulation I let ODE run in real time (stepsize in seconds) with real gravitation
(-9.81). Without any parameter tuning my boxes begin to jump arround,
although no force (except contact joints with the ground) affect them.
To fix this you can decrease step size but than its no longer realtime
:(
I also played around with some paramters (bounce,ERP,CFM) but I cannot
avoid that jumping completely.
The easiest way would be to set the objects which are colliding with
and are diving in the ground to height=0 explicitly. But this is not
allowed.
I think this question is rather old but the full-mail-archieve-link is
broken (since weeks) :(
Bye
T.Guenther
Univ. Magdeburg
_______________________________________________
ODE mailing list
ODE at q12.org
http://q12.org/mailman/listinfo/ode
More information about the ODE
mailing list