Quick answer: Break Force = Infinity. Break Torque = Infinity. Solver Iterations 12+. Enable Pre-processing.
Trailer attached to truck via FixedJoint. Truck hits a wall fast. Trailer detaches and flies. Joint exceeded its break threshold.
The Fix
FixedJoint:
Break Force: Mathf.Infinity
Break Torque: Mathf.Infinity
Enable Preprocessing: true
Connected Rigidbody:
Solver Iterations: 12
Solver Velocity Iter: 4
Collision Detection: Continuous Dynamic
// Code: programmatic config
var joint = ...;
joint.breakForce = float.PositiveInfinity;
joint.breakTorque = float.PositiveInfinity;
Infinity makes the joint unbreakable. Solver iterations stop visible slop. Continuous CD prevents tunneling that would also stress the joint.
Verifying
Smash truck at speed: trailer stays attached. Without infinity: detach within a few crashes.
“Infinity force. More iterations. CCD. Joint holds.”
Related Issues
For trigger stay sleep, see trigger stay. For 2D slope controller, see slope.
Infinite force. Iterations up. Joint holds.