The arbiter representing the potential interaction. Use to inspect collision normal, etc.
The event type that caused this callback to fire (e.g., CbEvent.BEGIN).
The first interactor in the pair (matches options1 unless swapped is true).
The second interactor in the pair (matches options2 unless swapped is true).
The listener that this callback was fired from.
true when the pair order is swapped relative to the listener's options1/options2.
Check this if you need to know which interactor matched which filter.
Callback object passed to PreListener handlers.
Provides both interactors, the arbiter, and a
swappedflag indicating whether the pair order was swapped relative to the listener'soptions1/options2.The handler should return a PreFlag to control the interaction. Do not store this object beyond the handler scope — it is pooled and reused.
Converted from nape-compiled.js lines 2590–2634.