I believe it looked like this:
AShip_Base::AShip_Base()
{
// Set this pawn to call Tick() every frame. You can turn this off to improve performance if you don't need it.
PrimaryActorTick.bCanEverTick = true;
AutoPossessPlayer = EAutoReceiveInput::Player0;
RootComponent = CreateDefaultSubobject<USceneComponent>(TEXT("RootComponent"));
//SphereComponent = CreateDefaultSubobject<USphereComponent>(TEXT("RootComponent"));
//RootComponent = SphereComponent;
SphereComponent->InitSphereRadius(500.0f);
SphereComponent->SetCollisionProfileName(TEXT("Pawn"));
Mesh = CreateDefaultSubobject<UStaticMeshComponent>(TEXT("Mesh"));
Mesh->SetupAttachment(RootComponent);
// Setup the camera boom
CameraBoom = CreateDefaultSubobject<USpringArmComponent>(TEXT("CameraBoom"));
CameraBoom->SetupAttachment(RootComponent);
CameraBoom->TargetArmLength = 750.0f;
CameraBoom->bUsePawnControlRotation = false;
// Set up the camera
FollowCamera = CreateDefaultSubobject<UCameraComponent>(TEXT("FollowCamera"));
//FollowCamera->AttachToComponent(CameraBoom, USpringArmComponent::SocketName);
FollowCamera->SetupAttachment(CameraBoom, USpringArmComponent::SocketName);
FollowCamera->bUsePawnControlRotation = false;
// Set up the Ship movement
//ShipMovement = CreateDefaultSubobject<UShipMovement>(TEXT("ShipMovement"));
//ShipMovement->UpdatedComponent = RootComponent;
}