§29's collision payload as it reaches a node's listeners.
Declared here rather than in rigid-body.ts — where the emitting class
lives — because the alias names Collider, and a type import of it
from rigid-body.ts would close an import cycle (this module already
imports RigidBody at runtime to resolve Collider.body).
The augmentation below merges the three collision names into
RigidBodyEventMap, so the body's emitter surface is unchanged.
§29's collision payload as it reaches a node's listeners.
Declared here rather than in
rigid-body.ts— where the emitting class lives — because the alias names Collider, and a type import of it fromrigid-body.tswould close an import cycle (this module already imports RigidBody at runtime to resolve Collider.body). The augmentation below merges the three collision names intoRigidBodyEventMap, so the body's emitter surface is unchanged.