SliderJoint:setMotorTarget
EditSets the target value for the SliderJoint's motor. This is either a target position or a target velocity, based on the mode set by SliderJoint:setMotorMode.
SliderJoint:setMotorTarget(target)Arguments
| Name | Type | Description |
| target | number | The target value, in meters or meters per second, depending on the mode. |
Returns
Nothing