On Wed, Feb 11, 2015 at 11:59 AM, Richmond <richmondmathew...@gmail.com> wrote:
> What my iPad CANNOT do, is detect if it is moved across a surface, for the > very SIMPLE reason that it doesn't have > "little wheels" or other motion sensors on its underside [ err . . . > backside?]. > AccelerationChanged delivers an X, Y, and Z parameters. If your cat slides the iPad perfectly to the right, you should see that two of the parameters (Y and Z?) stay at 0, but one of them (X?) changes, first to one sign (positive?) and then the other (negative?) as the iPad slows to a stop. If you're clever you can work out how far the iPad moved. To the larger question, rotationRateChanged also comes in X, Y, and Z params. Working out the math to isolate one from the other is indeed an interesting problem. _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode