[ODE] restraining rotation along axes

François Beaune francois.beaune at enst.fr
Fri May 17 17:06:02 2002


Hi !

Maybe you could just set inertia momenta along X and Z axes
to infinity (or to a very large value). This should work.

Cheers,
François


----- Original Message -----
From: "Glenn Watson" <nzglenn@yahoo.com>
To: <ode@q12.org>
Sent: Tuesday, May 14, 2002 3:45 AM
Subject: [ODE] restraining rotation along axes


> Hi, what is the best way (if it's possible) to ensure
> that a rigid body (say falling under gravity and then
> colliding with static geo) can only rotate around the
> Y axis when it hits something?
>
> Obviously this is very unrealistic, but in this
> situation I just want the body to stop as it hits the
> static geometry, and maybe bounce slightly etc, but
> not fall over (ie rotate on x/z)
>
> Thanks for any help
>
>
> __________________________________________________
> Do You Yahoo!?
> LAUNCH - Your Yahoo! Music Experience
> http://launch.yahoo.com
> _______________________________________________
> ODE mailing list
> ODE@q12.org
> http://q12.org/mailman/listinfo/ode
>