[ODE] Step Sizes

Thor Henning Amdahl thorha at smsc.no
Thu Nov 4 15:35:46 MST 2004



Donny Viszneki wrote:

> Perhaps this is my own fault, but I didn't see anywhere a good step size 
> for dWorldStep. I'm using ODE in a fixed-frame game, running at 30 FPS, 
> so originally I set the step size for 1/30. I recently tried adjusting 
> this to see if it would make my simulation more stable (you know, the 
> vanishing, jittering, and occasional popping that occurs.) I adjusted it 
> from 1/30 to 1/300. The simulation actually got MUCH WORSE with more 
> popping and vanishing.

It could happen that you run into precision problems when you reduce the
step size.

Have you tried to use double precision?

> 
> What the hell? I'd have thought if ANY change were made by giving ODE 
> more granularity, it would be that the simulation would become MORE 
> ACCURATE.
> 
In the theory this is correct.


Regards

Thor Henning Amdahl


> WHAT IS GOING ON?
> 
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode
> 
> 



More information about the ODE mailing list