HingeJoint:getMotorTarget

Edit

Returns 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.

target = HingeJoint:getMotorTarget()

Arguments

None

Returns

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

See also