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.
Type Parameters
Section titled “Type Parameters”TCtx
Parameters
Section titled “Parameters”options
Section titled “options”TriggerSystemOptions<TCtx>
Returns
Section titled “Returns”SchedulableSystem<TCtx>