Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#pragma once
#include "CoreMinimal.h"
#include "AIController.h"
#include "MovementAIController.generated.h"
UCLASS()
class PROJECT999_API AMovementAIController : public AAIController
{
GENERATED_BODY()
public:
void BeginPlay() override;
UFUNCTION()
void GoToRandomWaypoint();
bool GetRandomPointInRadius(const FVector& Origin, float Radius, FVector& OutResult);
void OnMoveCompleted(FAIRequestID RequestID, const FPathFollowingResult& Result) override;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment