Navigation
API > API/Runtime > API/Runtime/NavigationSystem > API/Runtime/NavigationSystem/UNavigationSystemV1
Description
Finds random, point in navigable space restricted to Radius around Origin. Resulting location is not tested for reachability from the Origin
| Name | GetRandomPointInNavigableRadius |
| Type | function |
| Header File | /Engine/Source/Runtime/NavigationSystem/Public/NavigationSystem.h |
| Include Path | #include "NavigationSystem.h" |
| Source | /Engine/Source/Runtime/NavigationSystem/Private/NavigationSystem.cpp |
bool GetRandomPointInNavigableRadius
(
const FVector & Origin,
float Radius,
FNavLocation & ResultLocation,
ANavigationData * NavData,
FSharedConstNavQueryFilter QueryFilter
) const
true if any location found, false otherwise
Parameters
| Name | Remarks |
|---|---|
| ResultLocation | Found point is put here |
| NavData | If NavData == NULL then MainNavData is used. |