Skip to content

makeTriggerSystem

makeTriggerSystem<TCtx>(options): SchedulableSystem<TCtx>

Defined in: src/modules/collision/trigger.ts:44

Builds a schedulable system that iterates a broadphase, runs an optional narrowphase filter, and invokes onOverlap for each surviving pair. The system is stateless and idempotent within a tick — pair ordering is fully controlled by the broadphase.

TCtx

TriggerSystemOptions<TCtx>

SchedulableSystem<TCtx>