asswipes need to be complex.
so here's the deal I was about to righting a simple angle in = angle out bounce script for a game object, then I find that the only way to get the object's rotation info is by using the blender/python getOrientation() module. this module spits out a 3x3 rotation matrix.
initially I thought, "meh, thats fine I'll just look up how to get the real x,y,z angles from this so i can calculate the change in real time and then convert the changes back to a matrix and set it to the object."
Short answer;no.
long answer: no one anywhere seems to know how to get a real angle of an axis's rotation from these rotation matrices, only a euler angle which is not mathematically computable with simple operations such as + and -.
my problem, Euler angles are useless to me. I need a method to get a real angle in degrees for each axis from a 3x3 rotation matrix, and the method to form a 3x3 rotation matrix from angles in degrees, thankyou.
help would be appreciated.
assholes are now saying that euler angles are degrees. fuck that shit, no they aren't "
" is not an angle in degrees