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