Skip to content

@modoki/engine / index / CollisionHandler

Type Alias: CollisionHandler ​

CollisionHandler = (a, b, phase) => void

(a, b, phase) — a solid (non-sensor) contact between two colliders.

Parameters ​

a ​

Entity

b ​

Entity

phase ​

CollisionPhase

Returns ​

void

Built with Modoki.