5#include "CoreMinimal.h"
6#include "GameFramework/Pawn.h"
7#include "Camera/CameraComponent.h"
9#include <DeskSimV2/SaveGame/IsSaveableInterface.h>
10#include "Drone.generated.h"
24 virtual void BeginPlay()
override;
28 virtual void Tick(
float DeltaTime)
override;
31 virtual void SetupPlayerInputComponent(
class UInputComponent* PlayerInputComponent)
override;
33 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = UCameraComponent)
34 UCameraComponent* DroneCamera;
36 bool bIsJustPossessed;
37 bool bStartPositionSet;
40 void MoveForward(
float AxisValue);
41 void MoveStrafe(
float AxisValue);
42 void MovePitch(
float AxisValue);
43 void MoveYaw(
float AxisValue);
49 FVector CurrentForward;
50 FVector CurrentStrafe;
51 FVector2D CurrentRotation;
53 const
float MAXSPEED = 10000.0f;
Definition: IsSaveableInterface.h:20