Function that returns:
true - Allow the intersection to be detected (trigger intersection events)false - Block the intersection (no intersection events will fire)When multiple hooks are registered, the first hook that returns false blocks the intersection.
If all hooks return true, the intersection is allowed.
Generated using TypeDoc
Registers a callback to filter intersection pairs.
The callback determines if intersection computation should happen between two colliders (where at least one is a sensor).
This will only be executed if at least one of the involved colliders contains the
ActiveHooks.FILTER_INTERSECTION_PAIRflag in its active hooks.Example