[ODE] Ray-Trimesh normal reversed

Joe Ante joeante at liquiddestiny.com
Tue Jul 15 09:09:01 2003


> If I were you, I would check ODE's axis handedness vs. your coordinate
> system handedness. ODE uses a right handed coordinate system (i.e. a
> system where the cross product follows the right hand rule). OpenGL is
> right-handed, DX is left-handed. This is most noticeable on cross
> products and when rotating vectors/points or taking angles between
> vectors.
I am in a right handed coordinate system.
Is there anyone who uses the ray-trimesh collision code and doesnąt have the
problem with the normals being in the opposite direction?

Joe Ante