the joint to configure
either JointType.GLOBAL_HINGE (axes in world space) or JointType.LOCAL_HINGE (axes relative to the previous bone)
the hinge axis, assumed to be unit length
the clockwise limit in radians, clamped to [0, PI]
the anticlockwise limit in radians, clamped to [0, PI]
the zero direction the limits are measured from
the joint
Sets a hinge constraint: the bone may only rotate in the plane perpendicular to
rotationAxis, and withinclockwise/anticlockwiseradians ofreferenceAxisin that plane.referenceAxisis projected onto the hinge plane and normalized, so it need only be roughly perpendicular. Pass PI for both limits for a hinge that spins freely.