[ODE] jumping objects with real time and real gravition

Wenzel Jakob wenzel at schlund.de
Fri May 14 16:18:01 MST 2004


Why don't you decrease the step size and increase the number of steps?

So instead of
 dWorldStep(world, 1.0f);

you do

 for (int i=0; i<10; i++)
  dWorldStep(world, .1f);

Wenzel

> 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) :(
>
>




More information about the ODE mailing list