Camera Roll

Hey, I’m making a puzzle where the “gravity changes”, but I ran into a problem where when my character turns towards the “set gravity” direction (not only up and down) , the camera roll doesn’t change. I am using the

FirstPersonCameraComponent->bUsePawnControlRotation = true;

command. When changed to:

FirstPersonCameraComponent->bUseControllerViewRotation_DEPRECATED = true;

it works, but then there’s no Pitch control from the mouse input. The goal is to have Yaw and Pitch inputs from the mouse and Roll taken from the character’s rotation. I’m lost…