[ODE] Disabling axis of rotations on a body

Erwin de Vries erwin at vo.com
Wed Jul 9 12:17:01 2003


If you truly want to disable an axis of rotation you should just manually
set it after each step. For car wheels its important that they are always in
the right rotation, and i found no way other than forcing the rotation to be
correct.

Erwin

----- Original Message -----
From: "Alex Hetu" <alexhetu@videotron.ca>
To: <ode@q12.org>
Sent: Wednesday, July 23, 2003 20:47
Subject: [ODE] Disabling axis of rotations on a body


> Hi,
>
> I'd like to know if it is possible to disable certain axis of rotation on
a
> body and still move it around in the world and make it collide with other
> bodies without ever rotating around those disabled axis (ex: a tall box or
> cylinder that can only rotate on itself around the Y-axis and which can
> never fall on its sides...). Or maybe it could be possible to actually
> disable all rotations of a body?
>
> I looked for joints or constraints, but joints don't really apply on
single
> bodies... and i wish to find a CLEAN solution. Am I missing something?
>
> thx!
> Alex Hetu
>
> _______________________________________________
> ODE mailing list
> ODE@q12.org
> http://q12.org/mailman/listinfo/ode
>
>