TriggerColliderRemovedEvent
Description
If a vehicle detects a collider and that collider is destroyed by another script, the OnTriggerExit method is not automatically triggered. In such cases, this method needs to be manually invoked to remove the obstacle in front of the traffic vehicle.
Declaration
Parameters
Name
Description
collider
The removed collider.
Example
Last updated