Component3D.onCollisionExit() method

Event fired when this component stops colliding with another component

Signature:

onCollisionExit(cb: EventListeners[typeof EVENTS.COLLISION_EXIT]): () => void;

Parameters

Parameter

Type

Description

cb

EventListeners[typeof EVENTS.COLLISION_EXIT]

**Returns:**

() => void