2
How do I identify the rotational motion of the iPhone on its own axis (same rotation as a spinning top)? I was able to identify practically all possible rotations and I couldn’t identify this one, which is exactly what I need for a game I’m developing. The iPhone will be in portrait position.
More precisely I need to take the Y rotation
I think that this here can help you using the framework
CoreMotion
.– Paulo Rodrigues
Unfortunately it was following that I got the others but I could not implement the Y, what I need to do is something similar to the example of Quizzer
– Gian
So you need to rotate the shaft itself?
– Skalwalker