Navigation
API > API/Runtime > API/Runtime/NavigationSystem > API/Runtime/NavigationSystem/UNavigationSystemV1
References
| Module | NavigationSystem |
| Header | /Engine/Source/Runtime/NavigationSystem/Public/NavigationSystem.h |
| Include | #include "NavigationSystem.h" |
| Source | /Engine/Source/Runtime/NavigationSystem/Private/NavigationSystem.cpp |
UFUNCTION (BlueprintCallable, Category="AI|Navigation", Meta=(WorldContext="WorldContextObject"))
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
| Name | Description |
|---|---|
| PathfindingContext | could be one of following: NavigationData (like Navmesh actor), Pawn or Controller. This parameter determines parameters of specific pathfinding query |