[ODE] Should trimeshes react to physics?

Chris Ledwith cledwith at d-a-s.com
Wed Dec 14 15:18:38 MST 2005


>  
>
>>2) Use a fixed time step, if you aren't already. http:// 
>>www.mindcontrol.org/~hplus/graphics/game_loop.html
>>    
>>
>
>I think I do already.  I just call Quckstep.  I'll check that link out.
>
>  
>

The main idea to glean from this is that you should take however much 
time has passed since the last update (which will always be different 
since framerate isn't constant), and slice that variable time into 
fixed-size chunks, and feed those to the stepper (in a loop). You're not 
doing this, unless you're explicitly doing it -- because ODE won't 
handle it for you.

-C



More information about the ODE mailing list