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