This repository has been archived by the owner on Jun 29, 2024. It is now read-only.
PinJoint2D angle limits work incorrectly if NodeB parent node turns 180 degrees. #69
Labels
bug
Something isn't working
Describe the bug
If PinJoint2D has limits enabled with the following node hierarchy
then when NodeA node turns over 180 degrees the PinJoint2D will lose track of where the limits are and begin spinning.
However, if NodeB is not child of NodeA then the limits will work correctly.
To Reproduce
Using the attached project turn the box around with left/right keys. When turned 180 degrees it should fail.
Expected behavior
Expected that the physics behavior is not affected by the node hierarchy.
Project
PinJointAngleBug.zip
Versions (please complete the following information):
The text was updated successfully, but these errors were encountered: