Make keyboard inputs relative to where the mouse is looking

Hi! I am creating a game and I would like to set up my third-person view so that when I am moving my character with WASD, the inputs are relative to where my mouse is looking, meaning that W always makes me walk forward away from the camera, S makes me walk backward, A makes me walk left, and D makes me walk right.
Currently pressing S makes the character turn and walk forwards toward the camera, which is what I don’t want.
I still want to be able to use the free camera though when I am stationary.

in your character movement… disable this :face_in_clouds:
UEForum
and activate this in your character class default
UEForum1

1 Like

That partially fixes it. How can I set it so that while I am pressing WASD it turns the character to face where the mouse is facing?
Turning that setting off makes it so that my character is stuck facing north.

i edit the last answer now will be work, when u dont move u need to set the use controller rotation yaw to false in bp
UEForum2

1 Like