Legacy Documentation: Version 5.2
LanguageEnglish
  • C#
  • JS

Script language

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

DistanceJoint2D.GetReactionTorque

Switch to Manual
public float GetReactionTorque(float timeStep);

Parameters

timeStep The time to calculate the reaction torque for.

Description

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