Navigation
API > API/Runtime > API/Runtime/NavigationSystem > API/Runtime/NavigationSystem/ARecastNavMesh
Description
Tries to move current nav location towards target constrained to navigable area. Faster than ProjectPointToNavmesh.
Virtual Inheritance
- INavigationDataInterface::FindMoveAlongSurface → ANavigationData::FindMoveAlongSurface → ARecastNavMesh::FindMoveAlongSurface
| Name | FindMoveAlongSurface |
| Type | function |
| Header File | /Engine/Source/Runtime/NavigationSystem/Public/NavMesh/RecastNavMesh.h |
| Include Path | #include "NavMesh/RecastNavMesh.h" |
virtual bool FindMoveAlongSurface
(
const FNavLocation & StartLocation,
const FVector & TargetPosition,
FNavLocation & OutLocation,
FSharedConstNavQueryFilter Filter,
const UObject * Querier
) const
true if successful, false otherwise
Parameters
| Name | Remarks |
|---|---|
| OutLocation | if successful this variable will be filed with result |