onVehicleCrashed
Description
Triggered when a vehicle crashes into another object.
Name | Description |
---|---|
vehicleIndex | The index of the vehicle that crashed |
obstacleType | The type of obstacle that was hit (Road, StaticObject, DynamicObject, TrafficVehicle, Player, Other). |
other | The other collider that was hit. |
Example
Last updated