I just want my AI move to random location.
So i tried MoveToLocation() in TaskNode (every tick), but it always return failed. why???
(I already has NavMeshBoundsVolume in my level)
auto AIController = Cast<AMyAIController>(OwnerComp.GetAIOwner());
.
.
.
EPathFollowingRequestResult::Type FollowResult = AIController->MoveToLocation(FinalLoc, -1, false, true);
FString DebugText = UEnum::GetValueAsString(FollowResult);
UE_LOG(LogTemp, Warning, TEXT("%s"), *DebugText);
type or paste code here