Using HMD to strafe

Hey guys, new to the forum so go easy on me!

Been searching for a couple of days on how I might do this for a little prototype I’m working on but can’t for the life of me work it out. I’d like to lean left and right (real world) and cause the player to strafe left and right in game. I’ve tried a few different things but as I’m pretty new to UE4 I’ve not been able to figure anything out and it seems no one else is doing it (which is weird I thought this would be a fairly common control scheme!).

Anways, thanks in advance.

M