Module |
|
Header |
/Engine/Source/Runtime/NavigationSystem/Public/NavigationSystem.h |
Include |
#include "NavigationSystem.h" |
Source |
/Engine/Source/Runtime/NavigationSystem/Private/NavigationSystem.cpp |
static bool NavigationRaycast
(
UObject * WorldContextObject,
const FVector & RayStart,
const FVector & RayEnd,
FVector & HitLocation,
TSubclassOf< UNavigationQueryFilter > FilterClass,
AController * Querier
)
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
Parameter |
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 |