Created
April 19, 2020 19:33
-
-
Save dacanizares/6f47164e3d86d9fd6d19bd129d888695 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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