Navigation
API > API/Runtime > API/Runtime/NavigationSystem > API/Runtime/NavigationSystem/UNavigationSystemV1
Description
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
| Name | TestPathSync |
| Type | function |
| Header File | /Engine/Source/Runtime/NavigationSystem/Public/NavigationSystem.h |
| Include Path | #include "NavigationSystem.h" |
| Source | /Engine/Source/Runtime/NavigationSystem/Private/NavigationSystem.cpp |
bool TestPathSync
(
FPathFindingQuery Query,
EPathFindingMode::Type Mode,
int32 * NumVisitedNodes
) const
true if path exists
Parameters
| Name | Remarks |
|---|---|
| Mode | switch between normal and hierarchical path finding algorithms. |