Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

HingeJoint2D.GetReactionTorque

Switch to Manual
GetReactionTorque(timeStep: float): float;
float GetReactionTorque(float timeStep);
def GetReactionTorque(timeStep as float) as float

Parameters

timeStepThe time to calculate the reaction torque for.

Description

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