Jump to content

  • Log In with Google      Sign In   
  • Create Account


Link between Create Rotations matrices


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
No replies to this topic

#1 LemonBiscuit   Members   -  Reputation: 145

Like
0Likes
Like

Posted 16 April 2014 - 05:24 AM

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!



Sponsor:



Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS