#include "LyraCharacter.h"
#include "AbilitySystem/LyraAbilitySystemComponent.h"
#include "GameFramework/SpringArmComponent.h" //Here
#include "Camera/LyraCameraComponent.h"
and:
//Instantiating Class Components
SpringArmComp = CreateDefaultSubobject<USpringArmComponent>(TEXT("SpringArmComp"));
SpringArmComp->bEnableCameraLag = true;
SpringArmComp->SetupAttachment(GetMesh(),FName("ShoulderCamera"));
CameraComponent = CreateDefaultSubobject<ULyraCameraComponent>(TEXT("CameraComponent"));
//CameraComponent->SetRelativeLocation(FVector(-300.0f, 0.0f, 75.0f)); Just Test i don need it
CameraComponent->SetupAttachment(SpringArmComp);
Help me please , i don t need lyra Camera,Or Just Delete Camera Component From LyraCharacter.h And ADD Custome Camera At child class Does it work?