Is there a way to have an "Add Movement Input" code turn your character?

My character turns with the A and D keys and the camera follows him. However When I’m holding Left click I want to be able to turn the camera around my character, which I can do. BUT the problem lies in when I start moving with the A or D keys the camera resets behind my player and doesn’t maintain his position.


The reason that camera reset its position and goes back behind your character is that it inherits your Pawn’s control rotation. Simply select the Spring Arm Component in your character blueprint (it might be named CameraBoom) and from the details panel, under the Camera Settings, turn off the 4 available options. Your camera can now be controlled manually and your character rotations will not affect it anymore.

Hope this helps.