Disconnect Conditions
For additional physics-based disconnect conditions, add "Disconnect Controller" to the game object with the "Trailer Controller". (Optional)

In the disconnect conditions, you can select as many conditions as you like.

Hitch Angle
Defines the maximum x/y/z angle that the joint can handle. If the current angle x/y/z is higher than the set ones, the trailer will disconnect. An angle value of 0 means the condition will be ignored.
Collision Force
Collision force checks the relative velocity magnitude upon collision. If it's higher than the set value, the disconnect will occur. The condition with value of 0 will be ignored.
Airborne
The disconnect will occur as soon as all the wheels of the trailer will lose contact with the ground.
Trailer Upside Down
Compares the dot product between trailer's up and world's up direction. If the dot product is less than the value, disconnect will occur.
On Trigger Enter
Upon colliding with a trigger collider, if the game object's tag is the same as the "Tag" field, disconnect occurs.


Last updated