So, I perform the following command:
ROTATE Y MATRIX4 MyMatrix, (RotAngle# * (3.141592/180))
then apply the matrix to my Object through EZROTATE, I get an object that rotates on the Y axis perfectly.
However, I then perform this statement:
ROTATE X MATRIX4 MyMatrix, (PitAngle# * (3.141592/180))
and then apply the matrix to my Object I lose the Y rotation of the matrix. It's as if it gets set back to 0 degrees.
If I perform the following:
ROTATE YPR MATRIX4 MyMatrix, (RotAngle# * (3.141592/180)), (PitAngle# * (3.141592/180)), 0
it works just fine.
I'm just curious. Is EZROTATE doing something to the Matrix that might be causing it? If not for EZROTATE I don't know (yet) how I'd apply a Matrix4 back to an Object.
Any thoughts?
TIA
- A man from nowhere, prophesized to fail, blazed beyond the brightest of them all.