How to make camera pitch affect arms on mesh but not body

I am making first person shooter and when i look up i want the mesh arms to also look up but not the body only the arms and head. There is one mesh

surely there are lots of different ways.

by default rotation of a pawn is effected by its control rotation based on APawn.bUseControllerRotation*** you set.
see APawn.FaceRotation, it just simply sets the actor rotation.
you can override that function or just leave it and do your own stuff in Tick.

I personally set APawn.bUseControllerRotationYaw to true and adjust the Arm Pitch in Tick function.

FRotator armRotation = ArmMesh->GetRelativeRotation();
armRotation.Pitch = GetControlRotation().Pitch;
ArmMesh->SetRelativeRotation(armRotation);