Handlecollisionenter

ScriptComponent.handleCollisionEnter() method

Handles the collision enter event for the host component

Signature:

handleCollisionEnter(event: CollisionEnterEvent): void;

Parameters

Parameter

Type

Description

event

CollisionEnterEvent

**Returns:**

void