How to rotate pawn with a camera

I have been using UE4 for a week or so I am a total new. I am making a rolling ball game completely from scratch and got all the mechanics working, movement and moveable 3d camera. But the movement has a problem with the camera! When I turn the camera in another direction, the controls are the same, so W will move me in a different direction than forward. Same with every other keybind. I want to rotate the pawn with the camera rotation so the controls don’t invert eachother. I also want compatibility with a xbox controller.

Check the action mapped for the paritcular keys which you’re accessing.
Project Settings ->Engine(section)->Input update the action mapping according your defined control.

333202-capture.png

I am using axis mapping not action