UNavigationSystemV1::TestPathSync

Synchronously check if path between two points exists Does not return path object, but will run faster (especially in hierarchical mode)

Windows
MacOS
Linux

References

Module

NavigationSystem

Header

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

Include

#include "NavigationSystem.h"

Source

/Engine/Source/Runtime/NavigationSystem/Private/NavigationSystem.cpp

Syntax

bool TestPathSync
(
    FPathFindingQuery Query,
    EPathFindingMode::Type Mode,
    int32 * NumVisitedNodes
) const

Remarks

Synchronously check if path between two points exists Does not return path object, but will run faster (especially in hierarchical mode)

Hierarchical mode ignores QueryFilter

Returns

true if path exists

Parameters

Parameter

Description

Mode

switch between normal and hierarchical path finding algorithms.

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