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.
A
Andreas Fötschl
said
almost 9 years ago
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.
Yong Wei Jian