playMaker

Author Topic: iOS Roll Tutorial  (Read 3107 times)

indy2005

  • Playmaker Newbie
  • *
  • Posts: 5
iOS Roll Tutorial
« on: September 03, 2013, 08:18:15 PM »
Hi,

I am pretty sure I have followed the video tutorial correctly, but I am not getting the same values from my gyroscope as in the video.  In landscape right, I am getting 1.5 and not zero...decreasing to zero as I move to the right, and increasing to 3 as I rotate to the left...?  Am I doing something wrong...?

Regards

i

mrgrey

  • Playmaker Newbie
  • *
  • Posts: 9
Re: iOS Roll Tutorial
« Reply #1 on: September 04, 2013, 02:55:53 AM »
I did the same tutorial for my windows phone and got some strange results similar to yours. What I had to do was multiply the roll float value by -1 to get the expected result. Hope this helps

indy2005

  • Playmaker Newbie
  • *
  • Posts: 5
Re: iOS Roll Tutorial
« Reply #2 on: September 04, 2013, 12:56:43 PM »
Thanks...would be good to know if this is an issue or not, as adding a multiple in and then having the issue corrected at some point in the future will cause problems.