This version of Unity is unsupported.

HingeJoint2D.GetMotorTorque

Switch to Manual
public float GetMotorTorque(float timeStep);

Parameters

timeStepThe time to calculate the motor torque for.

Description

Gets the motor torque of the joint given the specified timestep.