Navigation
API > API/Runtime > API/Runtime/NavigationSystem > API/Runtime/NavigationSystem/UNavigationSystemV1
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPathFindingResult FindPathSync
(
FPathFindingQuery Query, |
Does a simple path finding from @StartLocation to @EndLocation on specified NavData. | NavigationSystem.h | |
FPathFindingResult FindPathSync
(
const FNavAgentProperties& AgentProperties, |
Synchronously looks for a path from @fLocation to @EndLocation for agent with properties @AgentProperties. | NavigationSystem.h |
FindPathSync(FPathFindingQuery, EPathFindingMode::Type)
Description
Does a simple path finding from @StartLocation to @EndLocation on specified NavData. If none passed MainNavData will be used Result gets placed in ResultPath
| Name | FindPathSync |
| Type | function |
| Header File | /Engine/Source/Runtime/NavigationSystem/Public/NavigationSystem.h |
| Include Path | #include "NavigationSystem.h" |
| Source | /Engine/Source/Runtime/NavigationSystem/Private/NavigationSystem.cpp |
FPathFindingResult FindPathSync
(
FPathFindingQuery Query,
EPathFindingMode::Type Mode
)
Parameters
| Name | Remarks |
|---|---|
| NavData | optional navigation data that will be used instead main navigation data |
| Mode | switch between normal and hierarchical path finding algorithms |
FindPathSync(const FNavAgentProperties &, FPathFindingQuery, EPathFindingMode::Type)
Description
Synchronously looks for a path from @fLocation to @EndLocation for agent with properties @AgentProperties. NavData actor appropriate for specified FNavAgentProperties will be found automatically
| Name | FindPathSync |
| Type | function |
| Header File | /Engine/Source/Runtime/NavigationSystem/Public/NavigationSystem.h |
| Include Path | #include "NavigationSystem.h" |
| Source | /Engine/Source/Runtime/NavigationSystem/Private/NavigationSystem.cpp |
FPathFindingResult FindPathSync
(
const FNavAgentProperties & AgentProperties,
FPathFindingQuery Query,
EPathFindingMode::Type Mode
)
Parameters
| Name | Remarks |
|---|---|
| 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 |