ANavigationData::FindPath

Synchronously looks for a path from to for agent with properties .

Windows
MacOS
Linux

References

Module

NavigationSystem

Header

/Engine/Source/Runtime/NavigationSystem/Public/NavigationData.h

Include

#include "NavigationData.h"

Syntax

FPathFindingResult FindPath
(
    const FNavAgentProperties & AgentProperties,
    const FPathFindingQuery & Query
) const

Remarks

Synchronously looks for a path from to for agent with properties . NavMesh actor appropriate for specified FNavAgentProperties will be found automatically

don't make this function virtual! Look at implementation details and its comments for more info.

Returns

true if path has been found, false otherwise

Parameters

Parameter

Description

ResultPath

results are put here

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss