Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

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

SpringJoint2D.GetReactionTorque

Switch to Manual
public function GetReactionTorque(timeStep: float): float;

Parameters

timeStepThe time to calculate the reaction torque for.

Description

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