[ODE] dt computation

Bram Stolk bram at sara.nl
Mon Apr 3 11:10:40 MST 2006


gl wrote:

> Was the suggestion to use a variable time step?  If so, why not implement 
> the correct way of doing this, ie. accumulating elapsed time, and then using 
> as many fixed steps as are required to catch up to it.  This is a FAQ anway 
> and having it right in the demos would avoid future Qs.

You're absolutely right ofcourse.

I do this in test_basket now, and after Jaroslav's fixes, it actually
shoots a basketball in the hoop, regardless of framerates in a
deterministic way.

0.6-rc1 is going to be one fine release candidate :-)

   Bram


More information about the ODE mailing list