Module |
|
Header |
/Engine/Source/Runtime/NavigationSystem/Public/NavigationSystem.h |
Include |
#include "NavigationSystem.h" |
Source |
/Engine/Source/Runtime/NavigationSystem/Private/NavigationSystem.cpp |
FPathFindingResult FindPathSync
(
const FNavAgentProperties & AgentProperties,
FPathFindingQuery Query,
EPathFindingMode::Type Mode
)
Synchronously looks for a path from to for agent with properties . NavData actor appropriate for specified FNavAgentProperties will be found automatically
Parameter |
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 |