Strafing only looks at camera direction

Hi, I’m trying to do a topdown view shooter game and in order to aim or lock on i set a variable that store the pawn that collisioned with a sphere and while holding the right button this will rotate in order to look at the direction of the target.

The thing is that when the sandbox character from GAS start looking at the target is kinda right while u are practically looking to the camera direction, but when you reach one of the sides is less noticeable and on top you can see the change in direction pop in, and it never have been looking down.

I think this has something to do with the strafe from the Game animation sample but cant figure aut what is it.

This are the blueprints on the sandbox character.


Thanks for your time.