Priority Stop
Last updated
Last updated
Each waypoint can automatically add a Priority Stop by checking the Is Priority Stop parameter (disabled by default)
Then, you will probably have to move and/or rotate the waypoint to match your environment.
The Priority Stop contains two raycasts. A yellow one at 45 deg to the right and a red one at 45 deg to the left.
The principle is as follows:
When a car arrives at the Priority Stop, the raycasts intercept the passage of the cars first on the yellow raycast, then on the red raycast.
The yellow activates the collider which stops the car, the red deactivates it.