First off I think this should go on the controller, not the character/pawn.
This is how we do it: From the controller grab the inputs:
Then to get the vector:
Then get move the player: