UNavigationSystemV1::FindPathToLocationSynchronously

Finds path instantly, in a FindPath Synchronously.

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

static UNavigationPath * FindPathToLocationSynchronously
(
    UObject * WorldContextObject,
    const FVector & PathStart,
    const FVector & PathEnd,
    AActor * PathfindingContext,
    TSubclassOf< UNavigationQueryFilter > FilterClass
)

Remarks

Finds path instantly, in a FindPath Synchronously.

Parameters

Parameter

Description

PathfindingContext

could be one of following: NavigationData (like Navmesh actor), Pawn or Controller. This parameter determines parameters of specific pathfinding query

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