I wanted my camera to also align to the pawn’s rotation, so just a small addition to this:
In your custom Pawn’s Tick, do this:
Camera->SetRelativeRotation(GetViewRotation());
And be sure to set this after creating the Camera in your constructor:
Camera->bUsePawnControlRotation = false;