PDA

View Full Version : Mobile Motion Access iPhone 4 vs iPhone 3GS



rcag
11-14-2011, 07:13 AM
Hi all,

Since i began development i was using an iPhone 3GS as a default to test the game
I just tried it on an iPhone 4 and noticed that the values given by the "Mobile Motion Access" ( Delta Yaw to be more specific ) are completely different from the 3GS.
Could someone give me an advice in how to normalize values between the different iPhones? Or somehow make the event give the same values in both iPhones?

Thanks for the help.

Edit: Is there some way in kismet to detect in what kind of iPhone is the game running?

GigaHobbit
11-30-2011, 02:30 PM
So I messed with this some since MobileMotionAccess is an old Event. (The replacement is the AnalogInput Event and there is some documentation on UDN about it.) Unfortunately, messing around with delta values in AnalogInput, it seems to have the same behavior that you're seeing: the scale of delta values is far greater on a 4S than on the 3GS. I don't have any quick fixes for you, but I can tell you that it appears to be a bug and will be investigated as such. Note that I also noticed a bug where DeltaYaw and DeltaRoll were reversed, so you might need to adjust your kismet once that fix comes out and they are corrected.

Can you describe how you're using the delta value of the input? I don't know if it will help the fix, but it's always useful to know how folks make use of these tools!