UNavigationSystemV1::K2_GetRandomLocationInNavigableRadius

Generates a random location in navigable space within given radius of 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

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

Remarks

Generates a random location in navigable space within given radius of Origin.

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