Me and my team are designing an app in blueprints where the user actor will be a vehicle. Since this game will be going to mobile devices we have been designing it as expected and changing the controls from wasd to pedals for stop and go, and we want to do tilt controls so when the user tilts his iDevice or Android device they move left and right and the further they tilt the faster they move. It seems to be hard to find information on tilting since everything seems to be projects for computers and very few for mobile. Is there a simple way to do tilt controls or is there something I may have missed online where I can learn? We don’t want to have a wheel or buttons to go side to side we really want to do it by tilt control since its a much better experience, we just haven’t been able to figure it out yet. If anyone can help that would be really appreicated!
You can bind Tilt, RotationRate, Gravity, and Acceleration to delegate functions via an InputComponent in C++ using BindVectorAxis or in Blueprints by placing a Vector Axis Event or Get Value function.
There is some information here that may be of use to you: How to set up tilt input axis mappings for mobile devices? - World Creation - Epic Developer Community Forums