I basically want to take the orientation of my phone and use that as one to one input for my player pawn’s aiming direction in game. I’ve done this before outside unreal by just reading the device orientation matrices on ios and android, but it’s not as obvious in Unreal how to do that.
I see there are inputs for Tilt, Gravity, Rotation Rate, and Acceleration. How would I go about binding those and using them in C++? As far as I know, C++ works with floats for axis bindings. And in blueprint I see events for Tilt but for the other events I only see getters.