Need help with pawn movement

I have a top-down game set up where the pawn faces/turns towards the cursor location. However, I have yet to figure out how to get movement to work the way I want.
I want it to work where the player will move in the direction relative to their look/cursor location, i.e the player can be facing right and still move forward with “W” (WASD controls).

At the moment it works like this:

I would like it to work like this:

Here’s what I have in BP so far:

Try this:


Thank you! That worked!

It works with the forward movement but not with the backwards movement. IE if i run forward and turn left and run forward but when i try to go backwards it spins my character right first and then goes backwards rather than just going backwards.

It sounds like you have the ‘orient rotation to movement’ setting turned on in your character movement component, try turning that off.