ANavigationData::TestHierarchicalPath

Synchronously checks if path between two points exists using hierarchical graph [FNavAgentProperties](API\Runtime\Engine\AI\Navigation\FNavAgentProperties) will be found automatically

Windows
MacOS
Linux

References

Module

NavigationSystem

Header

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

Include

#include "NavigationData.h"

Syntax

bool TestHierarchicalPath
(
    const FNavAgentProperties & AgentProperties,
    const FPathFindingQuery & Query,
    int32 * NumVisitedNodes
) const

Remarks

Synchronously checks if path between two points exists using hierarchical graph FNavAgentProperties will be found automatically @note 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

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