Navigation
API > API/Runtime > API/Runtime/NavigationSystem > API/Runtime/NavigationSystem/ANavigationData
Description
Synchronously looks for a path from @StartLocation to @EndLocation for agent with properties @AgentProperties. NavMesh actor appropriate for specified FNavAgentProperties will be found automatically
don't make this function virtual! Look at implementation details and its comments for more info.
| Name | FindPath |
| Type | function |
| Header File | /Engine/Source/Runtime/NavigationSystem/Public/NavigationData.h |
| Include Path | #include "NavigationData.h" |
FPathFindingResult FindPath
(
const FNavAgentProperties & AgentProperties,
const FPathFindingQuery & Query
) const
true if path has been found, false otherwise
Parameters
| Name | Remarks |
|---|---|
| ResultPath | results are put here |