I’m sure I’m just missing something, but I’m trying to use the device’s rotation as an input (so something “falling” always goes toward the “real” ground, whichever way “down” really is). I thought Tilt would be what I wanted, but it seems to be a value of -2 to +2. Rotation Rate is the amount of change, so holding it still (in any orientation) gives a 0.
It’s the “z” axis, if you look at the diagram here (image also attached): https://developer.android.com/reference/android/hardware/SensorEvent
Is there a different input event I should be using? Or maybe a combination of several?
Thanks in advance