Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


breakTorque

The torque that needs to be applied for this joint to break. To be able to break, a joint must be _Locked_ or _Limited_ on the axis of rotation where the torque is being applied. This means that some joints cannot break, such as an unconstrained Configurable Joint.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
public float breakTorque { get; set; }

Remarks

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. Additional Resources: Joint.OnJointBreak(float).