[ODE] Programmer request (car physics)
Andrzej Szombierski
qq at kuku.eu.org
Thu Jul 29 12:22:35 MST 2004
On Thu, 29 Jul 2004, Jon Watte wrote:
>
> > Use dBodyGetVelocityAtPos (or something like this) to get the linear
> > velocity at the contact point. Then calculate the length.
>
> The velocity at the contact point for a wheel with traction will
> always be 0 (almost by definition!). I use dBodyGetLinearVelocity()
> (for the center) and it seems to work OK.
>
You're right.. This velocity would be nonzero only when the wheels are
"sliding" instead of rolling (assuming that the friction settings permit
such motion).
--
:: Andrzej Szombierski :: qq at kuku.eu.org :: http://kuku.eu.org ::
:: anszom at bezkitu.com :: radio bez kitu :: http://bezkitu.com ::
More information about the ODE
mailing list