Orient rotation to movement in a pawn

I have a game in 3rd person and you control a pawn. I want to do the “Orient rotation to movement” that has the CharacterMovement (see image below) in Blueprints. I tried to do this with “Set actor rotation”, but this is a teleport and when I walk close the walls, the pawn gets stuck in the wall. In other words. I want a 3rd person pawn with the same characteristics than a 3rd person character.

I’m going crazy with this.

up
up
up