I set SpringArm->bUsePawnControlRotation = false; in the spring arm setup and now the mouse is not working,
Functions: LookUp and LookRight are implemented in the character class.
setting SpringArm->bUsePawnControlRotation = true; makes the mouse rotation to work
I don’t want to free camera, I want the character should rotate with the camera.