I’m having issues trying to get my camera shake to work, when I make a brand new CameraShakeBase class and start trying to add functionality in the cpp file I get an error under my function about having no “default constructor”. Idk how to fix this if anyone has any idea on how to that would be great.
#pragma once
#include "CoreMinimal.h"
#include "Camera/CameraShakeBase.h"
#include "Pistol_Recoil_Shake.generated.h"
/**
*
*/
UCLASS()
class CUBE_RETRO_API UPistol_Recoil_Shake : public UCameraShakeBase
{
GENERATED_BODY()
public:
UPistol_Recoil_Shake();
};
this is my header ^
#include "Pistol_Recoil_Shake.h"
UPistol_Recoil_Shake::UPistol_Recoil_Shake()
{
}
this is my cpp ^ (also where I’m getting the error)