Documentation
    Preparing search index...

    Interface QueryCandidate

    A collider a query is considering, as passesQueryFilter and a QueryFilter.predicate see it.

    Not part of §30's text — §30 lists the filter capabilities and leaves the candidate implicit — so this is the engine's definition (decision, WP-5.1): the four properties the documented filter rules read, and nothing else. An adapter fills it from its own broad-phase result; the fields are exactly §24's Collider filtering fields plus the two handles.

    interface QueryCandidate {
        body: PhysicsBodyHandle;
        collider: PhysicsColliderHandle;
        collisionGroups: number;
        collisionMask: number;
        sensor: boolean;
    }
    Index

    The body that owns it (§37: every collider has a parent body).

    The collider under consideration.

    collisionGroups: number

    The collider's §24 collisionGroups.

    collisionMask: number

    The collider's §24 collisionMask.

    sensor: boolean

    The collider's §24 sensor flag.