Skip to content

PhysicsContactEventData

Defined in: physics/PhysicsEventBridge.ts:41

Payload carried by every bridged event: who else was involved.

optional approachSpeed?: number

Defined in: physics/PhysicsEventBridge.ts:47

Approach speed, on collision_hit only.


optional isSensor?: boolean

Defined in: physics/PhysicsEventBridge.ts:45

True on the sensor’s own trigger_* event (false on the visitor’s).


other: number

Defined in: physics/PhysicsEventBridge.ts:43

The other participant — the body touched, or the trigger/visitor.