Legacy Documentation: Version 5.5
LanguageEnglish
  • C#
  • JS

Script language

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

Joint.breakTorque

public float breakTorque;

Description

The torque that needs to be applied for this joint to break.

The torque might come from collisions with other objects, forces applied with Rigidbody.AddTorque or from other joints. The break torque can be set to Mathf.Infinity to render the joint unbreakable. See Also: Joint.OnJointBreak.