[ODE] About angular damping
Jon Watte (ODE)
hplus-ode at mindcontrol.org
Tue Apr 24 08:10:11 MST 2007
Yes. All torques or forces are in units of "blah" and get multiplied by
the time step. So, if you assume SI units, forces are in newtons, and
get turned into newtons-per-second impulses by multiplying by time step.
If you want the object to stop in the duration of one time step, divide
by the time step size.
Jacob Ole Juul Kolding wrote:
> I've changed to global torque, but I'm confused about the time step,
> should I divide with the time step if I only run dWorldStep once per frame?
> On 4/14/07, * Jon Watte (ODE)* <hplus-ode at mindcontrol.org
> <mailto:hplus-ode at mindcontrol.org>> wrote:
> What is chronos() ?
> You should divide by the time step size. For example, if you pass 0.01
> to dWorldStep() each time, that's what you should divide by to stop in
> one step.
> However, your problem is that you're using relative torque. The body
> velocity is in global coordinates, so you should add global torque.
> / h+
More information about the ODE