3rd Person Camera - Best way to automatically have it adjust pitch

That is the stuff in “use control pawn rotation” when you select it it overwrites camera rotation.
But that is part of your game setup, independent from code i made. I know i just unchecked that and made example code work. Just code your own camera behavior. You have it all there.