DriveActions
Description
The possible state in which a traffic vehicle can be.
A vehicle can have multiple states stored, but the one with the highest priority will be the active one.
Declaration
Members
Forward
0
Normal driving.
ForceForward
1
Clear all existing actions and continue forward.
Continue
10
Do not change current state.
ChangeLane
11
Try to change the current lane.
Follow
12
Addapt the speed to the front vehicle.
Overtake
13
Try to overtake the front vehicle.
AvoidForward
15
Make a hard turn to the right to avoid a forward collision with a vehicle from the other way.
GiveWay
16
Stop and make sure it is free to continue.
StopInPoint
20
For traffic lights or other road signs.
StopInDistance
70
Stop in front trigger dimension.
Reverse
80
Reverse but keep wheels as they are.
StopTemp
90
Stop and resume after some time.
Stop
91
Stop forever.
AvoidReverse
100
Reverse but change wheel direction.
NoWaypoint
1000
No waypoints available to continue.
NoPath
1001
No path waypoints available to continue.
Destroyed
10000
Vehicle was removed from the scene.
Last updated