UNavigationSystemV1::FindPathSync

Does a simple path finding from to on specified NavData.

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
(
    FPathFindingQuery Query,
    EPathFindingMode::Type Mode
)

Remarks

Does a simple path finding from to on specified NavData. If none passed MainNavData will be used Result gets placed in ResultPath

Parameters

Parameter

Description

NavData

optional navigation data that will be used instead main navigation data

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