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
- Upgrading HDRP Project causes the Cloud Layer to warp when using the Global Volume with the Visual Environment enabled
- The Inspector does not shown SkinnedMeshRenderer Bounds when they are overriden by script
- Confusing validation message in Scoped Registries
- Compute shader is dispatched with unsupported workgroup size on multiple browsers when building the project for Web with WebGPU Graphics API
- Rotation Property collapses after changing Interpolation Type In Animation window
Add comment