HMD rotation when pawn is laying down but player is sitting up?

After some fiddling with disabling lock to HMD, getting the orientation + position of the HMD during tick, and then passing those values to the set rotation / set positions of the camera… I’m confused >.<

I managed to get the camera to face up in the game by subtracting 90 degrees on the Y axis, but, the X and Z axis’ are not cooperating at all. Any hints on doing this?

Checking in to see if anyone could point me into the right direction :\