CollisionProcessor
Implemented by
Index
Methods
broadphase
Detect potential collision pairs given a list of colliders
Parameters
targets: Collider[]
delta: number
optionalstats: FrameStats
Returns Pair[]
debug
Draw any debug information
Parameters
ex: ExcaliburGraphicsContext
delta: number
Returns void
narrowphase
Identify actual collisions from those pairs, and calculate collision impulse
Parameters
pairs: Pair[]
optionalstats: FrameStats
Returns CollisionContact[]
update
Update the internal structures to track colliders
Parameters
targets: Collider[]
delta: number
Returns number
Definition for collision processor
Collision processors are responsible for tracking colliders and identifying contacts between them