Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/styllloz/public_html/qa-include/qa-base.php on line 1175

Warning: session_start(): Cannot start session when headers already sent in /home/styllloz/public_html/qa-include/app/users.php on line 162

Warning: Cannot modify header information - headers already sent by (output started at /home/styllloz/public_html/qa-include/qa-base.php:1175) in /home/styllloz/public_html/qa-include/app/users.php on line 1267

Warning: Cannot modify header information - headers already sent by (output started at /home/styllloz/public_html/qa-include/qa-base.php:1175) in /home/styllloz/public_html/qa-include/app/page.php on line 356
As on IOS to mimic the angle of the tool? - code-flow.club | Q&A

As on IOS to mimic the angle of the tool?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
8 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 | 8 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
35,181 users