how do i change camera behavior while in game

I am building off of the first person starter project. also i am new to coding so i am working in blueprints.

I am switching between a run on ground control and a control for moving in 3d space with rotation.

I want the camera to behave as it does by default when I am on the ground,(looking around independent of the capsule orientation.) and to be tied to the orientation of the capsule when in the air. I have a variable for grounded state and i understand event fires enough that I think I could come up with a way for it to switch, but i don’t really know what is controlling the camera orientation.

bonus points if I can do a rotation to initially orient the capsule to the camera.