Can't set camera as child of spring arm

I’m using first person template, and I want to attach player camera to spring arm.
But I can’t with the message saying “The selected component is inherited and cannot be reordered here.” I tried setting it on C++ script constructor, but it just ignores and keeps that way.
Is there any way?

Please, provide a screenshot of the component set up that you have.

You can also check this:

Oh i thought that i’ve included screenshot. maybe i missed something.
Anyway i solved this problem by setting attachment in C++ script constructor.
I just didn’t compiled blueprint after compling C++ script.

// Create a SpringArm
SpringArmComponent = CreateDefaultSubobject(TEXT(“SpringArm”));
SpringArmComponent->SetupAttachment(GetCapsuleComponent());

// Create a CameraComponent	
FirstPersonCameraComponent = CreateDefaultSubobject<UCameraComponent>(TEXT("FirstPersonCamera"));
FirstPersonCameraComponent->SetupAttachment(SpringArmComponent);

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.