A Joint is a physics object that constrains the movement of two Colliders.


lovr.physics.newBallJointCreate a new BallJoint.
lovr.physics.newDistanceJointCreate a new DistanceJoint.
lovr.physics.newHingeJointCreate a new HingeJoint.
lovr.physics.newSliderJointCreate a new SliderJoint.


Joint:destroyDestroy the Joint.
Joint:isEnabledCheck if the Joint is enabled.
Joint:setEnabledEnable or disable the Joint.
Joint:getCollidersGet the Colliders the Joint is attached to.
Joint:getUserDataGet the Joint's user data.
Joint:setUserDataSet the Joint's user data.
Joint:getTypeGet the type of the Joint.

See also