@Todai wrote:
For a school project I’m trying to let a 3D model rotate according to my mobile phones orientation. The incoming data from my phone is:
0 360
0 180 -180 0
0 90 0 -90 0
I hope the data makes sense as I displayed it right now.
The problem is that at a certain point the whole 3D model flips around some axis and I can’t figure out why this happens. Do I need to calculate some other rotation values with the incoming ones in order to rotate the model properly?
Thanks in advance!
Posts: 2
Participants: 2