UNavigationSystemV1::FindPathSync

Synchronously looks for a path from to for agent with properties .

Windows
MacOS
Linux

References

Module

NavigationSystem

Header

/Engine/Source/Runtime/NavigationSystem/Public/NavigationSystem.h

Include

#include "NavigationSystem.h"

Source

/Engine/Source/Runtime/NavigationSystem/Private/NavigationSystem.cpp

Syntax

FPathFindingResult FindPathSync
(
    const FNavAgentProperties & AgentProperties,
    FPathFindingQuery Query,
    EPathFindingMode::Type Mode
)

Remarks

Synchronously looks for a path from to for agent with properties . NavData actor appropriate for specified FNavAgentProperties will be found automatically

Parameters

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss