I don’t understand what you’re doing. if you want to have the pawn move to the pawn’s right based on the direction it is facing, why all this fancy GetRotationFromX and Location and whatnot? Why not just do the following:
- Get the Pawn’s Right Vector, multiply it by the distance you want to strafe,say, 3000 (=30 meters).
- add this amount to the pawn’s current location.
- use that resulting sum as the new destination location for the Move.
I don’t know if this will work but it makes sense to me. On the other hand, I don’t understand how the math works in your screenshot. Maybe you can explain it to me step by step though.