Question by
Tramplex · Aug 19, 2017 at 02:13 PM ·
vector3quaternion
Quaternion.AngleAxis multiplied by vector gives wrong result
When i multyply Quaternion.AngleAxis (angle, Vector3.up) by Vector3(0f, 0f, 5f) with 90 deg angle it gives wrong result : Vector3(5f, 0f, 2.9367f) , when it should be Vector3(5f, 0f, 0f). What is interesting, if i change angle a little so it becomes not multyple of 90 it works fine and gives good resulting vector. How can i workaround this issue or maybe i am doing something wrong?
Comment
Your answer
Follow this Question
Related Questions
Slerp ignoring time component? 1 Answer
Look rotation viewing vector is zero 1 Answer
Clamp vector values to a minimum circular radius around player? 1 Answer
iron sight using inverse kinematic 0 Answers
Lerping Quaternion Eulers. 1 Answer