How to make lyra starter game first person?

I added a little to the .h and .cpp allowing you to change what you want that camera attached to, pretty simple but just wanted to share.
At line 33 in the .h I added

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "First Person")
		FName CameraAttachSocket = "head";

and in the .cpp I changed line 100 to use that FName, not sure is thats the correct way to do it but it works fine.

return TargetCharacter->GetMesh()->GetSocketLocation(CameraAttachSocket);
3 Likes