Question by
afuhrtrumpet · Jun 17, 2019 at 10:52 PM ·
rotationquaternioneuleranglestrigonometry
How to convert Quaternions to Euler angles with different order?
I am trying to convert a Quaternion to Euler angles, but the version instead where X, Y, Z is the rotation order rather than Z, X, Y like default. I know how to do the other way to around with Quaternion.AngleAxis
but this one eludes me. I tried implementing the equation shown below (taken from this wikipedia page) but I'm still not getting the correct angles. Has anyone done anything like this before and gotten it to work?
Comment
Your answer
Follow this Question
Related Questions
Help with suns rotation 0 Answers
Quaternion.Euler doesn't work right? 2 Answers
Rotation Problem on X Axis over 90 and -90 degrees! 0 Answers
Rotation problem 0 Answers