Navigation
Unreal Engine C++ API Reference > 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 |
static bool NavigationRaycast
&40;
UObject &42; WorldContextObject,
const FVector & RayStart,
const FVector & RayEnd,
FVector & HitLocation,
TSubclassOf< UNavigationQueryFilter > FilterClass,
AController &42; Querier
&41;
Remarks
Performs navigation raycast on NavigationData appropriate for given Querier. true if line from RayStart to RayEnd was obstructed. Also, true when no navigation data present
Parameters
Name | Description |
---|---|
Querier | if not passed default navigation data will be used |
HitLocation | if line was obstructed this will be set to hit location. Otherwise it contains SegmentEnd |