Search Issue Tracker
Duplicate
Votes
0
Found in
2018.4
2019.4
2020.3
2021.1
2021.1.11f1
Issue ID
1342781
Regression
No
GameObject is constrained in world space when setting angularVelocity on Rigidbody with freeze rotation constraint
How to reproduce:
1. Open the attached project's Scene labeled "BugRbSetAngularVelocity"
2. Enter the Play Mode
3. In the Game View, inspect the "Cube_Normal" and "Cube_SetAngularVelocityToItself" rotations
Expected result: Rotation should be the same
Actual result: "Cube_SetAngularVelocityToItself" Rigidbody's rotation is different after setting angularVelocity's value to itself every frame
Reproducible with: 2018.4.36f1, 2019.4.28f1, 2020.3.13f1, 2021.1.13f1
Not reproducible with: 2021.2.0a1, 2021.2.0b1
Note:
- Angular velocity on the constrained Axis is always 0 when setting the angularVelocity every frame while the other Rigidbody with the same rotation constraints has a non-zero value
-
Resolution Note (2021.2.X):
Fixed in Unity 2021.2.0a1 and versions above
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
This is a duplicate of issue #1083573