Search Issue Tracker

Won't Fix

Votes

0

Found in

2021.3.38f1

2022.3.30f1

6000.0.4f1

7000.0.0a1

Issue ID

UUM-72762

Regression

No

Rotation value change on the X-axis gets stuck when using transform.rotation.eulerAngles

-

Reproduction steps:
1. Open the attached “RotationTransform.zip” project
2. Enter the Play mode
3. Select the “Cube” GameObject from the Hierarchy
4. Click the button in the Game view at least 4 times
5. Observe the “Cube” rotation values on the X-axis with each click

Expected result: “Cube” X-axis rotation value changes in such order: 0 > 90 > 180 (or -180) > -90 > 0
Actual result: “Cube” X-axis rotation value only changes to 90 and 180

Reproducible with: 2021.3.38f1, 2022.3.30f1, 6000.0.4f1

Reproducible on: Windows 10 (by user), Windows 11
Not reproducible on: no other environment tested

Note: Rotation on the Y and Z axes works as expected

  1. Resolution Note:

    After discussion, this expected behavior due to a gimbal lock.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.