Documentation
    Preparing search index...

    Class SweptCharacterSystem

    Advances every tracked node's SweptCharacterController once per fixed step, under §42's "kinematic" authority (§39 step 4).

    KinematicSystem's shape exactly — insertion-ordered tracking (§33), an idle component skipped before the authority check so a still character reports no conflict, and a refused write that leaves the node alone. What it adds is two once-per-node refusals of its own, both of which write nothing:

    • a node carrying both a CharacterController and a SweptCharacterController — two locomotion writers of one transform, which is the only way the two §39-step-4 systems can reach the same node;
    • a controller whose world's adapter declares capabilities.queries.shapeCast: false (§30, §37) — presence is the capability, and a solver that cannot sweep cannot drive this controller. Reported rather than thrown, because a fixed step is not a place to throw (§61/§85) and because the answer would be the same sixty times a second.

    Implements

    Index
    priority: number

    Execution order key (§39); default PRIORITY_KINEMATICS.

    • get disposed(): boolean

      Whether SweptCharacterSystem.dispose has run. Disposal is terminal (§83): a disposed system refuses its mutating entry points with INVALID_APPLICATION_STATE (§89) rather than silently working.

      Returns boolean

    • get nodes(): IterableIterator<Node>

      Tracked nodes, in the order they will be advanced.

      Returns IterableIterator<Node>

    • get size(): number

      Number of tracked nodes.

      Returns number

    • Stops advancing every node. The system stays registered.

      Returns void

    • Drops every tracked node (§39 teardown).

      Returns void

    • Whether node is tracked.

      Parameters

      Returns boolean

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

      Returns void

    • Starts advancing node. Idempotent — tracking a node twice keeps its original position in the iteration order. Returns node.

      The node need not carry a controller yet; it is looked up every step.

      Parameters

      Returns Node

    • Stops advancing node. Returns whether it was tracked.

      Parameters

      Returns boolean