- Home /
Question by
codingChris · Oct 01, 2015 at 12:21 PM ·
transformmathorientationeulereuler angles
How to set euler.z to zero while keeping orientation
The same orientation can be represented by several different euler angles. So for example euler(90, 270, 90) is the same thing as euler(90 180, 0).
What I need is a handy function or a math formula which (when z is set to zero) changes the x and y value of my euler representation accordingly, so that the orientation stays the same.
ps: It should work for any orientation, not only for that simple example above.
Any idea?
Comment
Your answer
Follow this Question
Related Questions
Looking at a target in 2D 0 Answers
Object rotation 2 Answers
Simple Maths Problem - Help! 1 Answer
Implement the equation as a code? 1 Answer
How would you fake air resistance? (c#) 2 Answers