Search Issue Tracker
By Design
Votes
0
Found in
5.3.4f1
Issue ID
793927
Regression
No
Rotating objects around Y axis performs rotation around local axis
Steps to reproduce:
1) Open the attached project in Unity (rotation_bug.zip).
2) Open scene 'test'unity'.
3) Select the cube in the scene.
4) Try rotating it around the Y and Z axes in the Inspector.
- Everything should work as expected.
5) Now set the rotation around X axis to 90.
6) Rotate the cube around Z axis in the inspector.
- Notice how the cube rotates around its local Z axis, unlike when rotating around X and Y axes, the object rotates around global axes.
Expected result: object rotates around global axis.
Actual result: object rotates around its local axis.
*Note: this issue is only visible, when either rotation around X or Y axis is not equal to 0.
*Note#2: this occurs with game objects of any type.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- NullReferenceException when setting 'isTextObjectScaleStatic' to false on a disabled TextMeshPro GameObject
- Shader Stripping Custom Options disappear when exiting Play mode without reloading Domain
- Decals do not get projected when 'Rendering Layer Mask' on a GameObject is 23rd Layer or above due to encoding/decoding issues
- Deriving from SearchContextAttribute doesn't always work
- Scripting API documentation is missing for macOS editor extensions
Add comment