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
- The cursor moves into wrong place when renaming folder/asset
- Assertion error "(dx - width < padding) || (dy - height < padding)" when using Pack Preview
- [Memory Profiler] The EntryType.NativeAllocationSites_MemoryLabelIndex of snapshots only reports -1 or 0 instead of the MemLabel used for allocations made from any call site.
- [Vulkan] Artifacts appear in the Player when using Screen Space shadows with orthographic camera
- Errors OnGUIDepth changed & GUIUtility:ProcessEvent when opening Textures with Third Party App
This is a duplicate of issue #891981