Stop third person camera affecting character rotation

I think you’ll want to either disable the pawn’s User Control Rotation checkbox,
or have the right analog stick not control the character but programmatically offset the camera rotation or the rotation of the scene component it is attached to (and make that parented in a way that it is not a child of the pawn, which means probably using AttachTo at runtime on BeginPlay, and changing it so it does not Snap To nor inherit rotation).

The thing is if your camera is a component of an actor, it will inherit the rotation of whatever it’s a child component of. The Spring Arm might have a way around this though, so you can look into that. If not, then you may want to consider making the camera part of a separate actor that always follows the character or is, like I described, attached to the character but ignoring the rotation of its attach parent, and do that at BeginPlay.