Optional ReadonlycontactsThe manifold, when the event has one. Optional rather than absent so that a
caller can hand over a heterogeneous array without casting, and so a
CollisionEvent and a TriggerEvent are both assignable; the providers
still check it at runtime (DebugCollisionEventLike is the narrowed
form).
Readonlytype
What the providers accept: anything with a
type, which covers the wholePhysicsEventunion (CollisionEvent,TriggerEvent,SleepEvent,JointBreakEvent) soworld.queuedEventscan be passed straight in. Entries without a contact manifold are skipped.