In my book
FNavLocation RandomPoint;
if(GetWorld()->GetNavigationSystem()->GetRandomPointInNavigableRadius(ThisController->GetPawn()->GetActorLocation(),5000.0f,RandomPoint))
but error : class"UNavigationSystemBase" has no member “GetRandomPointInNavigableRadius”
I’m already written in code
#include "Runtime/Engine/Classes/AI/NavigationSystemBase.h"
#include "Runtime/NavigationSystem/Public/NavigationSystem.h"
How to get and use “GetRandomPointInNavigableRadiu()”??