Determine movement direction relative to player rotation.

Greetings, im currently working on a twin stick zombie shooter game. Im trying to implement animations based on the direction the player is moving. The players uses to left joystick to move around and the right joystick to aim & shoot. The issue is that the player can rotate so I need a way to determine which direction the player is moving relative to the current direction the player is rotated in.
Any ideas how I can do this?

Ive been thinking about using the get actor forward vector and then compare that to the input axis of the left joystick? im not sure tho if this is the correct way of doing it. Any guidance would be greatly appreciated.