There is a CalculateDirection node you can use in the anim bp event graph. Just need to feed it the rotation and velocity from your pawn reference.