Skip to content

TriggerEvent

Defined in: physics/src/types.ts:100

Trigger event data passed to trigger handlers.

entered: boolean

Defined in: physics/src/types.ts:106

True if entering the trigger, false if leaving.


other: Entity

Defined in: physics/src/types.ts:102

The other entity involved in the trigger.


otherCollider: ColliderComponent

Defined in: physics/src/types.ts:104

The other entity’s collider component.