Hi! I have sample third person project. I need attach camera to skeletal mesh socket.
I did so:
FollowCamera = CreateDefaultSubobject<UCameraComponent(TEXT("FollowCamera"));
FollowCamera->SetupAttachment(GetMesh(), FName("headSocket"));
FollowCamera->bUsePawnControlRotation = true;
But it’s doesn’t working
What should I do?
PS: I’m created socket on mesh