Skip to content

@modoki/engine / index / SensorHandler

Type Alias: SensorHandler ​

SensorHandler = (sensor, other, phase) => void

(sensor, other, phase) — sensor is the entity whose collider isSensor.

Parameters ​

sensor ​

Entity

other ​

Entity

phase ​

CollisionPhase

Returns ​

void

Built with Modoki.