[ODE] Mapping to OpenGL axis system

Russ Smith russ at q12.org
Tue Nov 20 16:51:01 MST 2001


Ruud van Gaal wrote:
> Now I don't know exactly what ODE uses, but it seems like 
> left-handed, with Z going up?

no, ODE uses a right handed coord system, in both the dynamics and
collision. the choice of the 'up' axis is arbitrary, but the
handedness of the coordinate system is an important distinction.

> After modifying my rigid body class to create an ODE dBody, for 
> painting in OpenGL I had to map ODE's axis system to my (OpenGL) axis 
> system.

i don't think you'll have to do any mapping - but remember to
set the world gravity vector appropriately for your 'down' direction.

russ.

--
Russell Smith
http://www.q12.org



More information about the ODE mailing list