[This is preliminary documentation and is subject to change.]
Assembly: cai-nav (in cai-nav.dll) Version: 0.4.0.0 (0.4.0.0)
|C#||Visual Basic||Visual C++|
A position within the start polygon.
The end position.
The filter to apply to the query.
The result point from the move.
The references of the polygons visited during the move. [(polyRef) * visitedCount]
The number of polygons visited during the move.
Return ValueThe NavStatus flags for the query.
This method is optimized for small delta movement and a small number of polygons. If used for too great a distance, the result will form an incomplete path.
The result point will equal the end point if the end is reached. Otherwise the closest reachable point will be returned.
The result position is not projected to the surface of the navigation mesh. If that is needed, use GetPolyHeight(NavmeshPoint, Single%).
This method treats the end point in the same manner as the Raycast(NavmeshPoint, Vector3, NavmeshQueryFilter, Single%, Vector3%, array<UInt32>(), Int32%) method. (As a 2D point.) See that method's documentation for details on the impact.
If the result buffer is too small to hold the entire result, it will be filled as far as possible from the start point toward the end point.