Hello everybody I have been trying to make a third person game for the first time. I have a problem with the movement. I want to give it a third person movement like in PUBG, or Control: when pressing A or D I want my charter to step slowly left or right but without turning his face.
With my current code, when I press A or D it turns its face and runs to that direction (as in the picture below).
How it moves currently:

So how can I edit this code in order to make it as I mentioned above? Code:
stateMachine.transform.rotation = Quaternion.LookRotation(movement);