[ODE] conveyor belts and moving platforms

David McClurg dmcclurg at pandemicstudios.com.au
Thu Oct 10 17:30:02 2002


Benny Kramek wrote:
>> If my player is a ccylinder or sphere, and I don't want my player to rotate as it moves in the world via SetVel, how do I constrain the body to not rotate?
> One way is to put very large values in the inertia matrix. This will make the body difficult to rotate.

you mean like a large mass?

> Another, maybe better way, is give your body an inertia of a sphere,

how is that done?

> and to always have the geom oriented in a fixed orientation.

by setting the rotation every frame in the app? or is there another way to constrain orientation?

thanks for your help on conveyer/platform questions!