Can't attach camera to capsule component

Hi,

Add in .cpp :

#include “Camera/CameraComponent.h”

and Cast like this :

FPSCameraComponent->SetupAttachment((USceneComponent)GetCapsuleComponent());*

Good Luck :slight_smile: