Search Issue Tracker

Fixed in 5.2.0

Votes

0

Found in

5.0.1f1

Issue ID

691731

Regression

No

Wrong Quaternion Multiply Order in Document

Physics

-

Wrong quaternion multiply order in documentation.
http://docs.unity3d.com/ScriptReference/Quaternion-operator_multiply.html
Multiply order is Y -> X -> Z, but in documentation is Z -> X -> Y.

I believe, that multiply order is incorrect in here too:
http://docs.unity3d.com/ScriptReference/Transform.Rotate.html

Comments (1)

  1. Bunny83

    May 04, 2015 04:03

    Actually it depends on around which axis you execute the rotations. If you execute 3 rotations around world axis it's the same as doing the same rotations in reverse order around local axis. Just try it in Unity manually. Rotate around local Y then local X then local Z. Now do the same again but around **world** axis in the opposite order: Rotate around world Z then world X then world Y. You will see it's the end result is the same.

    Btw the quaternion page you linked is only about quaternion multiplication and doesn't involve euler angles at all. Did you mean Quaternion.Euler? Again the rotations are around world axis.

Add comment

Log in to post comment