Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Using the roll and pitch
-
Is there a way to access the roll and pitch??by this I mean the tilting of the devise
-
Yes...
motion.get_attitude()
returns the attitude of the device (roll, pitch, yaw). -
Ok, thank you.
-
Say if I tilt up or down, is it possible to have that print something that always appears when I tilt up or down?
-
Yes. Pitch is probably the value that you should be looking at. To see how these values change in realtime, check out
tilting_color.py
at https://github.com/cclauss/Pythonista_scene -
That's really cool! I'm trying to make a flight simulator, and that's why I was asking ... Any suggestions? In trying to make the Abe react to the tilting of the devise