HingeJoint:getMotorTorque

Edit

Returns the current torque the motor is using to reach its target, in newton meters.

torque = HingeJoint:getMotorTorque()

Arguments

None

Returns

NameTypeDescription
torquenumber The current torque, in newton meters.

See also