Third Person strafing problem

I searched all around the internet, but I just cannot get my pawn to strafe laterally.

In defaults, if you press A or D your character will move forward left or forward right but he will not strafe.

The only way I can get my pawn to to strafe laterally is by using Add Actor Locator Offset:

Like the name suggests it literally offsets the character.

Problem is Unreal Engine does not consider this real movement so I can’t get a lateral speed value.

If I break the vector for velocity I can correctly get correct values for X and Z, but using Y it’s just 0, because the character is not moving by himself but he’s being offset “externally” he’s movement is considered 0.

I really need to implement working strafe, and it needs to be good to not cause replication issues.

There is property that tells actor to face movement direction. I am not at my pc now, but you can setup character movement in way that it will strafe when that property is false, and face move direction when it is not. Then for making move vector get camera orientation.

I have done this all for top down game. But I am using 4 AI pawns as characters, with player pawn being just camera that snaps to selected Ai Pawn.

So check in character movement component:
USe controller YAW, desired rotation, rotation rate and face movement direction.
Sadly I cannot check atm. if those are exact names.

Thank you, it worked.