A Joint is a physics object that constrains the movement of two Colliders.
Constructors
lovr.physics.newBallJoint | Create a new BallJoint. |
lovr.physics.newDistanceJoint | Create a new DistanceJoint. |
lovr.physics.newHingeJoint | Create a new HingeJoint. |
lovr.physics.newSliderJoint | Create a new SliderJoint. |
Methods
Joint:destroy | Destroy the Joint. |
Joint:getColliders | Get the Colliders the Joint is attached to. |
Joint:getType | Get the type of the Joint. |
Joint:getUserData | Get the Joint's user data. |
Joint:isEnabled | Check if the Joint is enabled. |
Joint:setEnabled | Enable or disable the Joint. |
Joint:setUserData | Set the Joint's user data. |
See also