TriggerEvent
Defined in: physics/src/types.ts:127
Trigger event data passed to trigger handlers.
Properties
Section titled “Properties”entered
Section titled “entered”entered:
boolean
Defined in: physics/src/types.ts:133
True if entering the trigger, false if leaving.
other:
Entity
Defined in: physics/src/types.ts:129
The other entity involved in the trigger.
otherCollider
Section titled “otherCollider”otherCollider:
ColliderComponent
Defined in: physics/src/types.ts:131
The other entity’s collider component.