attached Hinge to two boxes and set the limit from -60 to -60 angle (yeah, like strongly -60).
In all box2d simulators no rotation of a leg, but here for some reason it has a lot of strange rotations.
In the console I outputed the current angle, there you can see that even once rotated to -60 does not make it stop.
here is my structure of project and here is my Hinge creation
physics.create_joint(physics.JOINT_TYPE_HINGE, “torso#collisionobject”, “my_test_joint1”, go.get_position(“anchor_t_leg_left”)*sc, “leg_left#collisionobject”, go.get_position(“anchor_leg_left”)*sc, {enable_limit = true, lower_angle=math.rad(-60),upper_angle = math.rad(-60),reference_angle=0 })