[ODE] question

Jon Watte (ODE) hplus-ode at mindcontrol.org
Mon Aug 22 14:30:36 MST 2005

Figure out whether a force will stop being applied in the middle of the 
timestep, and, in that case, step the world twice; once up to the force 
cut-off point, and once after that.

However, the behavior will still not be predictable, because of the 
vagaries of a varying time step. Use a fixed time-step instead, and the 
"specific time" problem magically also gets solved (as long as it's 
expressed in quanta of the timestep).


			/ h+

Alex Brown wrote:
> How do I apply a linear force for a specific period of time in such a 
> way that it will be independent of the timestep? Right now I apply the 
> force until my accumulated time between steps exceeds the time I wish to 
> apply the force. My timestep is dependent on my framerate so if there is 
> a hiccup the force could be applied too long.
> ------------------------------------------------------------------------
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode

More information about the ODE mailing list