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
- Frame Debugger is not disabled when switching Scenes if the Frame Debugger window is not open during the transition
- Standalone Profiler Targets another Project if a Standalone Profiler was launched in it before when switching between Edit or Play Mode Targets
- Crash on ForwardRenderLoopJob when opening a specific project
- [Android] Memory leak and eventual crash on Snapdragon 8 Gen 1+ devices when a Clear Pass is executed after Framebuffer Fetch
- PhysicsRaycaster ray length is incorrect when casting from rotated Camera
Add comment