HingeJoint:setMotorTarget

Edit

Sets 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

NameTypeDescription
targetnumber The target value, in radians or radians per second, depending on the mode.

Returns

Nothing

See also