How can I make the camera rotate with the character Animation?

I’m not the most experienced so apologies if this is an easy fix!

I’ve created this simple crouch down and look underneath animation - where as it sounds the character bends to one knee, leans over and turns their head about 50 degrees to as if to look under a table.

I’ve set up the Animation Blueprint and hooked it up so that when you press E, this animation runs. However, when the animation runs, the camera doesn’t rotate with the players head even though it is a child of the mesh and the camera is attached to the ‘head’ socket of the player character. The camera does crouch down and matches the world space of where the head is, but not the rotation.

If anyone knows a way to do this or has any advice on a fix I’d be grateful!

There should be a set relative rotation node you can use in blueprint. Hook that up to your camera and your E input.