Component3D.onCollisionStay() method

This event is fired each frame between the start and end of a collision

Signature:

onCollisionStay(cb: EventListeners[typeof EVENTS.COLLISION_STAY]): () => void;

Parameters

ParameterTypeDescription
cbEventListeners[typeof EVENTS.COLLISION_STAY]

Returns:

() => void