Followers 0

# Link between Create Rotations matrices

## 0 posts in this topic

Hello,

A friend of mine have been coding some rotations on my XNA project, but the order of the matrices rotation are not good. Some are of form :

Matrix.CreateRotationZ(1.21f) * Matrix.CreateRotationY(-0.13f)

and other:

Matrix.CreateRotationY(1.01f) * Matrix.CreateRotationX(-0.5f) * Matrix.CreateRotationZ(0.80f)

How can I find the values X, Y, Z so the rotations are in the correct order: (X,Y,Z) ?

Matrix.CreateRotationX(X) * Matrix.CreateRotationY(Y) * Matrix.CreateRotationZ(Z)

Thank you!

0

## Create an account

Register a new account