Start a new topic

Motion Detected

Motion Detected


Is motion detect function of the mobile device available in Wikitube SDK?

For example, if we shake the mobile device and it wll call a function to perform some action.

Hope to hear from anyone out there. Thanks in advance.

Hi there!

"Shake-Detection" is nothing really AR related and not covered by the Wikitude JavasScript or Android/iOS native interface.
Please check out e.g. Stackoverflow for that kind of questions.

You may analyse sensor values in parallel to the Wikitude SDK but please ensure to properly setup and release your listeners to avoid performance issues.

Kind regards,
Login or Signup to post a comment