Shake detection

JayJayDJayJayD Member Posts: 48
edited May 2015 in Working with GS (Mac)

Hello,

can somebody tell me, how i can detect when the device is shaken? I know how i can use the accelerometer to detect tilt but how is this with shaking?

I knew there are some Threads but the video links aren't available any more.

(http://forums.gamesalad.com/discussion/49386/how-to-detect-a-sudden-shake-of-the-device-if-possible)

Thank you

Comments

  • JayJayDJayJayD Member Posts: 48

    Anyone here who can help?

  • ApprowApprow Member Posts: 703

    Hold on, I will make a little demo project

  • ApprowApprow Member Posts: 703

    @JayJayD I'm not sure if this is the greatest example out there, but it should work fine. If you have any questions feel free to reply:)

  • JayJayDJayJayD Member Posts: 48

    @Approw Simple but effective solution. Works good.
    Thank you :)

Sign In or Register to comment.