When group leader enters this block, group dissolves, so pedestrians become independent from each other and follow their personal paths.
Demo model: Pedestrian Groups- On enter
-
Code executed when the pedestrian enters the block.
Local variable: ped — the pedestrian
- On before group disassemble
-
Code executed before group is dissassembled.
Local variable: PedGroup group — the group of pedestrians
- On exit
-
Code executed when the pedestrian exits the block.
Local variable: ped — the pedestrian
Function | Description |
---|---|
long countPeds() | Returns total number of pedestrians passed through this block. |
long countGroups() | Returns number of groups disassembled by this block. |
- in
-
The input port.
- out
-
The output port.
-
How can we improve this article?
-