Navigation
Unreal Engine C++ API Reference > Runtime > NavigationSystem > UNavigationSystemV1 > FindPathSync
References
Module | NavigationSystem |
Header | /Engine/Source/Runtime/NavigationSystem/Public/NavigationSystem.h |
Include | #include "NavigationSystem.h" |
Source | /Engine/Source/Runtime/NavigationSystem/Private/NavigationSystem.cpp |
FPathFindingResult FindPathSync
&40;
const FNavAgentProperties & AgentProperties,
FPathFindingQuery Query,
EPathFindingMode::Type Mode
&41;
Remarks
Synchronously looks for a path from to for agent with properties . NavData actor appropriate for specified FNavAgentProperties will be found automatically
Parameters
Name | Description |
---|---|
ResultPath | results are put here |
NavData | optional navigation data that will be used instead of the one that would be deducted from AgentProperties |
Mode | switch between normal and hierarchical path finding algorithms |