Search Issue Tracker
Duplicate
Votes
0
Found in
5.2.3f1
Issue ID
762760
Regression
No
HingeJoint.angle is incorrect when object has initial rotation
-e: The value reported by HingeJoint.angle is incorrect when an object with the HingeJoint component has a non-zero angle set in either the x or z rotation in its transform, and the parent object is subsequently rotated in the y or z axes. In this setup the parent object is the connected body and the joint's axis is the x axis.
-repro:
--open project attached to first edit
--Set the rotation angle of TopCube to zero.
--Run the scene
--Rotate the BottomCube
--Observe that the reported HingeJoint.angle stays nearly zero
--Set the transform rotation angle of TopCube to non-zero, say 10
--Run the scene
--In the scene view, select the "BottomCube" object and rotate it in either the y or z axis.
--NOTICE in the console that the value reported by HingeJoint.angle changes unexpectedly, even though the joint has not rotated about its axis.
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 #891981