dacha
    Preparing search index...

    Interface PhysicsQueryFilter<T>

    Filters shared by every physics query. T is the hit type of the query.

    Filters

    Type Parameters

    • T

    Hierarchy (View Summary)

    Index
    actorFilter?: (actor: Actor) => boolean

    Gets each actor and returns false to leave it out.

    excludeActors?: Actor[]

    Leaves these actors out.

    hitFilter?: (hit: T) => boolean

    Gets each hit and returns false to leave it out.

    The query may reuse the hit object, so it is valid only during the call. Do not keep a reference to it.

    layer?: string

    Finds only colliders whose layer collides with this layer, as the collision matrix says.