Converting a Rotation matrix into a vector

MatiasPi

New member
Joined
Oct 18, 2015
Messages
1
Hi, I'm trying to convert the way rotations are handled in a certain physics engine (Jitter) to a certain graphics engine. In Jitter, rotations are described in 3x3 Rotation Matrices (like this). I want to convert that data into a single vector.

The way this graphics engine stores rotations is like this: If an object is rotated 90 degrees in the X axis, the rotation vector would be like this: (90,0,0). One component for each dimension.

This might be dumb or just the wrong question to ask; I'm sorry if that's the case. Also, I'm not sure if this is the right forum category to post this; I'm new here.

Thank you for reading.
 
Top