navcat docs
    Preparing search index...

    Function finalizeSlicedFindNodePathPartial

    • Finalizes and returns the results of an incomplete sliced path query, returning the path to the furthest polygon on the existing path that was visited during the search.

      Parameters

      • navMesh: NavMesh

        The navigation mesh

      • query: SlicedNodePathQuery

        The sliced path query to finalize

      • existingPath: number[]

        An array of polygon references for the existing path

      Returns { path: number[]; pathCount: number; status: SlicedFindNodePathStatusFlags }

      Object containing the status, path, and path count