API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

I

interfaceSensorEvent

@codexo/exojs-physics / physics / stable

Immutable per-dispatch snapshot for a sensor overlap. `sensor` is the sensor-flagged collider; `other` is the collider that entered/left it. When both colliders are sensors, the lower-id collider is reported as `sensor`.

2
props
0
methods
0
events
Import
import { SensorEvent } from '@codexo/exojs-physics'

Immutable per-dispatch snapshot for a sensor overlap. `sensor` is the sensor-flagged collider; `other` is the collider that entered/left it. When both colliders are sensors, the lower-id collider is reported as `sensor`.

Properties2
Source