CollisionCtrl (Transporter)

Syntax

<MU-Path>.CollisionCtrl:method

The attribute CollisionCtrl designates a Method object, the Collision control, which Plant Simulation activates, when a faster Transporter collides with a slower one, i.e., the following Transporter drives faster than the one driving ahead of it and the distance between them is 0.

Data Type of the Value You Can Assign

You can assign a value of data type method.

Example

if .MUs.MyTransporter.CollisionCtrl = VOID
   .MUs.MyTransporter.CollisionCtrl := &myCollisionCtrl
end
-- myCollisionControl
-- @ is the transporter which Collided
-- @.frontmu references the transporter in front
-- hitch the current transporter to the transporter driving in front of it
@.hitchfront

Related Topic

Collided