Add target acquisition in the sample

This commit is contained in:
Arnaud Jamin
2023-10-06 02:27:00 -04:00
parent 25f2e06400
commit 92396410d4
36 changed files with 1657 additions and 97 deletions
@@ -0,0 +1,24 @@
#pragma once
#include "CoreMinimal.h"
#include "CogSampleTargetableInterface.generated.h"
class UCapsuleComponent;
//--------------------------------------------------------------------------------------------------------------------------
UINTERFACE(MinimalAPI, Blueprintable)
class UCogSampleTargetableInterface : public UInterface
{
GENERATED_BODY()
};
class ICogSampleTargetableInterface
{
GENERATED_BODY()
public:
virtual FVector GetTargetLocation() const { return FVector::ZeroVector; }
virtual void GetTargetCapsules(TArray<const UCapsuleComponent*>& Capsules) const { }
};