=COS(Z) * COS(Y) | =SIN(Z)*COS(X) + COS(Z)*SIN(Y)*SIN(X) | =SIN(Z)*SIN(X) -COS(Z)*SIN(Y)*COS(X) |
=-SIN(Z)*COS(Y) | =COS(Z)*COS(X) - SIN(Z)*SIN(Y)*SIN(X) | =-COS(Z)*SIN(X)+SIN(Z)*SIN(Y)*COS(X) |
=SIN(Y) | =COS(Y) * SIN(X) | =COS(Y)*COS(X) |
.713 | .700 | 0 |
-.700 | .713 | 0 |
0 | 0 | 1 |
Sorry aardwolf, should have deleted this thread. Turns out I was doing this the hard way. The values I was trying to calculate were already done (ship.Physics.RotationalVelocity)