SliderJoint

A SliderJoint is a type of Joint that only allows colliders to move on a single axis.

Constructor

lovr.physics.newSliderJointCreate a new SliderJoint.

Methods

SliderJoint:getLimitsGet the SliderJoint's limits.
SliderJoint:setLimitsSet the SliderJoint's limits.
SliderJoint:getLowerLimitGet the SliderJoint's lower limit.
SliderJoint:setLowerLimitSet the SliderJoint's lower limit.
SliderJoint:getUpperLimitGet the SliderJoint's upper limit.
SliderJoint:setUpperLimitSet the SliderJoint's upper limit.
SliderJoint:getAxisGet the SliderJoint's axis.
SliderJoint:setAxisSet the SliderJoint's axis.

See also