UNavigationSystemV1::K2_GetRandomReachablePointInRadius

Generates a random location reachable from given Origin location.

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

static bool K2_GetRandomReachablePointInRadius
(
    UObject * WorldContextObject,
    const FVector & Origin,
    FVector & RandomLocation,
    float Radius,
    ANavigationData * NavData,
    TSubclassOf< UNavigationQueryFilter > FilterClass
)

Remarks

Generates a random location reachable from given Origin location.

Returns

Return Value represents if the call was successful

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