Class NavigationQueryAbstract

The NavigationQuery allows querying a precalculated navigation mesh to perform path finding.

Hierarchy

  • FrameworkObject
    • NavigationQuery

Constructors

  • Parameters

    • OptionalisInternalConstructor: boolean

    Returns NavigationQuery

Methods

  • Called to destroy the internal data.

    Returns void

  • Finds the closest position on the navigation to the specified position.

    Parameters

    Returns Vector3

  • Finds a navigatable path from start to end using the optional filter. If start and end are not located on the navigation mesh, the positions will be mapped to the closest point on the navigation mesh used for the query.

    Parameters

    Returns Vector3[]

    true upon success.

  • Finds a random point on the navigation mesh in the shere using the optional filter.

    Parameters

    Returns Vector3

  • Finds a random point on the navigation mesh in the shere using the optional filter.

    Parameters

    Returns Vector3[]

  • Casts a ray on the navigation mesh rom start to end using the optional filter. If start and end are not located on the navigation mesh, the positions will be mapped to the closest point on the navigation mesh used for the query.

    Parameters

    Returns Intersection

    Intersection if intersected, or empty if intersection free..