As on IOS to mimic the angle of the tool?

0 like 0 dislike
5 views
In games-simulation it is necessary to determine the dependence of the tilt angle of the tool, and depending on it to perform different actions. Because this game program, it would be ideal to give the user buttons to change the angle (or angles pre-installed), and to simulate as close as possible to the original. The head is approaching a vague idea that when you swipe your finger from different angles print pattern is different. Maybe someone solved this problem, or seen that it has been solved in practice?
by | 5 views

2 Answers

0 like 0 dislike
It is not clear what exactly should be done. From what I understand, see here how changing the angle: www.youtube.com/watch?v=H6vJ1xGNYwk starting at 0:32
by
0 like 0 dislike
Try to use for these purposes a gyroscope. Actually, these accelerometers with gyroscopes in the iPhone for these purposes. Although it is not clear what the point of this simulation game, might not fit...
by

Related questions

0 like 0 dislike
2 answers
0 like 0 dislike
3 answers
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
110,608 questions
257,186 answers
0 comments
28,892 users