UNavigationSystemV1::GetRandomPointInNavigableRadius

Finds random, point in navigable space restricted to Radius around Origin.

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

bool GetRandomPointInNavigableRadius
(
    const FVector & Origin,
    float Radius,
    FNavLocation & ResultLocation,
    ANavigationData * NavData,
    FSharedConstNavQueryFilter QueryFilter
) const

Remarks

Finds random, point in navigable space restricted to Radius around Origin. Resulting location is not tested for reachability from the Origin

Returns

true if any location found, false otherwise

Parameters

Parameter

Description

ResultLocation

Found point is put here

NavData

If NavData == NULL then MainNavData is used.

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