On Collision

The On Collision event type records the timestamp when a collision between a specified prefab and a collider happens.

On Collision Event Configuration

../../../_images/collision_window1.png

The On Collision event contains the following configurable parameters:

Parameter Name

Explanation

Event Name

The name of the event.

Action

The action or the whole operation that the collision check will be active.

Collision Type

Contains the values Enter and Exit. Defines if event will trigger when the collision is entered or exited.

Prefab

The target prefab that will trigger the event when collided with the collider.

Interactor

The target collider that will trigger the event when it collides with the target prefab.