[ODE] Getting front vector from rotation matrix

Joao Rangel jpgr at mega.ist.utl.pt
Mon Feb 9 14:11:56 MST 2004


Hi,

I'm having a math problem with ODE that I would like to ask for your help.

I am making a simple car game with ODE under OpenGL, and I am tryng to make
the camera to follow my car. The problem is, that I need the front vector of
the car to know where to put the camera, and ODE only gives the rotation
matrix.

Is there anyway to find the car front vector from the rotation matrix?

Thanks in advance,
João Rangel








More information about the ODE mailing list