dacha
    Preparing search index...

    Interface OverlapActorParams

    Hierarchy (View Summary)

    Index
    actor: Actor

    The actor whose collider is tested.

    actorFilter?: (actor: Actor) => boolean

    Gets each actor and returns false to leave it out.

    excludeActors?: Actor[]

    Leaves these actors out.

    excludeSelf?: boolean

    Leaves the actor itself out of the results.

    true

    hitFilter?: (hit: OverlapHit) => 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. Without it, the query uses the layer of the actor's collider.

    offset?: Point

    Moves the collider before the test, in world units.