Turning space orientation into controls
Onscreen controls are quite good, but they can be considered as a compromise, a way to reconcile two worlds: the one with physical buttons and a brand new one with some new principles where traditional controls are not an option anymore. But what about the truly new approaches that are written from scratch? Is it possible? Sure! Moreover, iOS devices have interesting tiny sensors that might be useful: the accelerometer and the gyroscope. As a rule, beginners are a little bit confused about the exact functions and difference between these sensors. By a general description, they might look pretty similar. They are tiny instruments that measure some orientation parameters of a mobile device. In reality, each sensor has its own features. The accelerometer is a traditional part of the iOS platform. It can gauge the acceleration registering values of forces that disturb the device. Because the sensor has three axes of sensitivity, the orientation relative...