Documentation
    Preparing search index...

    Interface DebugJointAccess<THandle>

    The members of SolverJointAccess this module reads — transcribed from packages/physics/src/body-access.ts, same seam rules as DebugBodyAccess.

    Deliberately tiny: joint anchors are not on that interface at all, so joint geometry cannot be drawn through the seam (see DEBUG_DRAW_STAGED). What is readable is the joint set and whether the adapter reports reactions.

    interface DebugJointAccess<THandle = unknown> {
        reportsJointReactions: boolean;
        forEachJoint(visit: (handle: THandle, id: number) => void): void;
    }

    Type Parameters

    • THandle = unknown
    Index
    reportsJointReactions: boolean

    Whether getJointReaction reports anything real. Declared by the adapter, not discovered; both Rapier adapters declare false (Rapier 0.19.3's JS bindings expose no joint reaction).

    • Visits every live joint in creation order (§33).

      Parameters

      • visit: (handle: THandle, id: number) => void

      Returns void