11.11 Trailer connect

This example, which is shown in Figure 61, shows how to connect and disconnect a trailer to a towing vehicle.

A car is reversing into position in front of a trailer. After two seconds the trailer is connected. After another two seconds the car drives forward. Finally, the trailer is suddenly disconnected, simulating an accidental release.

This scenario demonstrates how to define a trailer Vehicle, configure mounting points, and the use of ConnectTrailerAction.

Image showing the car approaching the trailer and the future trajectory
Figure 61. Connect and disconnect trailer scenario example