UNavigationSystemV1::FindPathAsync

Asynchronously 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

uint32 FindPathAsync
(
    const FNavAgentProperties & AgentProperties,
    FPathFindingQuery Query,
    const FNavPathQueryDelegate & ResultDelegate,
    EPathFindingMode::Type Mode
)

Remarks

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

Returns

request ID

Parameters

Parameter

Description

ResultDelegate

delegate that will be called once query has been processed and finished. Will be called even if query fails - in such case see comments for delegate's params

NavData

optional navigation data that will be used instead of the one that would be deducted from AgentProperties

PathToFill

if points to an actual navigation path instance than this instance will be filled with resulting path. Otherwise a new instance will be created and used in call to ResultDelegate

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