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
Parameter | Type | Description |
---|---|---|
cb | EventListeners[typeof EVENTS.COLLISION_STAY] |
Returns:
() => void