Search Issue Tracker
Won't Fix
Votes
3
Found in
2018.4
2020.1.1f1
2020.2
Issue ID
1268971
Regression
No
The GameObject's rotation suffers from Gimbal Lock when Rotation Constraint is set on 2 axes
How to reproduce:
1. Open the user's attached "RotationConstraintBug.zip" project
2. Open the "SampleScene" Scene
3. Enter Play Mode
4. Press and hold the UP arrow key on the keyboard until both GameObjects stop rotating
5. Observe the GameObject on the right in the Game view while holding the Up arrow key
Expected result: The GameObject on the right doesn't flip (Doesn't suffer from Gimbal Lock)
Actual result: The GameObject on the right flips (Suffers from Gimbal Lock)
Reproducible with: 2018.4.27f1, 2019.4.10f1, 2020.1.6f1, 2020.2.0b3
Comments (2)
-
LabOSM
Nov 02, 2020 08:49
"Workaround is to use the Animation Rigging package" yeah, but the Animation Rigging package suffers from the same problem.
-
LabOSM
Sep 15, 2020 05:51
The category of the bug should be “Animation”, since the rotation constraint is an animation component, I’m not referring to the rigidbody’s rotation constraint.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note:
This is due to current limitations in the rotation constraint.
Workaround is to use the Animation Rigging package.