Question by
Blablablas · Aug 28, 2017 at 05:34 PM ·
2d-physicsjoints2d rotationmotorlimits
2D Joint motor ignores limits when rotated towards -x.
In my 2D game I have two objects linked with a 2D hinge joint. Object A is also the parent of B, so they move together. I use the motor to spin object B around an anchor on object A and I am using limits prevent more than +-60° rotation.
It works great unless object A gets rotated towards -x in world coordinated (left on the screen). When this happens, the motor of the hinge joint ignores limits and spins freely.
How can I fix this? What other solution could work instead of joints and motors?
Comment