INavigationDataInterface::FindMoveAlongSurface

Tries to move current nav location towards target constrained to navigable area.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/AI/Navigation/NavigationDataInterface.h

Include

#include "AI/Navigation/NavigationDataInterface.h"

Syntax

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.

Returns

true if successful, false otherwise

Parameters

Parameter

Description

OutLocation

if successful this variable will be filed with result