Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

Joint2D.reactionTorque

public float reactionTorque;

Description

Gets the reaction torque of the joint.

When a joint tries to constrain a Rigidbody2D it may need to apply torque to do so. This is known as the reaction torque.

See Also: GetReactionTorque, breakTorque.