Documentation
    Preparing search index...

    Class PhysicsEventSystem

    Dispatches every queued physics event of a PhysicsSystem's worlds at §39's step 9.

    See the module header for what the split changes and what it deliberately leaves identical.

    Implements

    Index
    • Parameters

      Returns PhysicsEventSystem

      FourError if source still dispatches its own events. Both halves running would put the listeners back at step 6 and make this system a no-op over an already-empty queue — a configuration that looks wired and is not, which §85 says to refuse rather than to accept and ignore.

    priority: number

    Execution order key (§39); default PRIORITY_EVENT_DISPATCH.

    The step-6 system whose tracked worlds are drained here.

    • get worlds(): readonly PhysicsWorld[]

      The worlds whose events are dispatched, in the source's tracking order.

      Returns readonly PhysicsWorld[]

    • Nothing to release (§39 teardown).

      The worlds belong to the source system, which drops its own references in its dispose; dropping them here as well would make teardown order matter.

      Returns void

    • Dispatches every tracked world's queued events, in tracking order (§39 step 9, §6b).

      Exactly the pass PhysicsSystem.fixedUpdate performs when it dispatches its own events — same worlds, same order, same method — moved to its own priority. Allocates nothing.

      Returns void

    • No per-registration setup is needed (§39).

      Returns void