Hi all!
This is a really hard situation to explain, so forgive me if it makes no sense.
I am currently playing around with the tilt controls for mobile. I have got a fairly simple tilt to move left/right blueprint happening, which works really well, however there is one glaring issue.The controls work perfectly if the screen of the phone is facing the ground, however if you’re playing with the screen facing the ceiling the controls are inverted, and the very clunky.
From what I have seen, it appears to be because the 0 rotation point is when the phone is screen down, which means if you’re playing looking down on the phone it is snapping between -180 and 180. I think this issue would be solved by somehow reorientating the tilt sensors, however I have no idea how I can do that!
Any help would be much appreciated! Thanks!