SliderJoint
EditA SliderJoint is a type of Joint
that only allows colliders to move on a single axis.
Constructor
lovr.physics.newSliderJoint | Create a new SliderJoint. |
Methods
SliderJoint:getAxis | Get the SliderJoint's axis. |
SliderJoint:getLimits | Get the SliderJoint's limits. |
SliderJoint:getLowerLimit | Get the SliderJoint's lower limit. |
SliderJoint:getPosition | Get how far the SliderJoint is extended. |
SliderJoint:getUpperLimit | Get the SliderJoint's upper limit. |
SliderJoint:setAxis | Set the SliderJoint's axis. |
SliderJoint:setLimits | Set the SliderJoint's limits. |
SliderJoint:setLowerLimit | Set the SliderJoint's lower limit. |
SliderJoint:setUpperLimit | Set the SliderJoint's upper limit. |