I am using rolling ball template with some adjustments for my mobile game and I am using motion (tilt for left and right which works fine) and gravity for forwards and backwards, it works fine with movement, but I have some issues with calibration. I have just added tilt and gravity to input in project settings.
If I am holding my phone in any position that is different from flat position ball is moving backwards or forwards, so it is impossible to play when you are in bed for instance, as it will roll backwards.
Is there any solution to fix this? Like calibrate phone position?