SetRelativeLocation with Pawn Control Rotation ON????

Hello , I am currently making a game and in my actor I have had my Pawn Control Rotation set ON because its a FPS that I am making , and I am doing a lean feature when you lean , you’ll have a little bit of a camera rotation , but when I tried the “SetRelativeRotation” with Pawn Control Rotation ON , it doesn’t work , with the Pawn Control Rotation OFF , it works perfectly , the “SetRelativeLocation” works with both on and off , I am just wondering how do you make your camera rotate while walking around etc with Pawn Control Rotation ON? Thank you very much

Pawn Control Rotation overrides everything you send with “SetWorldRotation” or “SetRelativeRotation” because the Player Controller updates the rotation value every tick. If you want to change the rotation you can send a value to the Controller by “Add Controller * Input” but this is often applied to input events and may be hard to use this manually. The other way I know is to dynamically turn off Pawn Control Rotation, set the rotation, and then turn on the control rotation again.

All I wanna do is be able to look around pitch and yaw , but turning off Pawn Controller Rotation wouldn’t allow me to look up or down and also using the Add Controller Input to Pitch , would mess up my full body , because when I look up , the body also follows my camera and looks up loool. The reason I use Pawn Controller Rotation is because when I look down , the body remains there and doesn’t move , only my hands move. I wanna be able to rotate the camera while looking up and down etc , any idea how to do that?

Also when I turn off Pawn Control Rotation , it rotates , but when I turn it on again , the rotation is gone and the camera is not straight again. Any ideas how to fix this with blueprint or something?

Koralgoll, How do you dynamically turn off Pawn Control Rotation? I could not find this in blueprint.

“The other way I know is to dynamically turn off Pawn Control Rotation, set the rotation, and then turn on the control rotation again.”