java - Capture big movement with Android Smartphone -


i able capture big movement on android phone game. example stroke arm right, left or other direction , able differentiate them.

is there exist ?

what sensor should use purpose , why ?

thx

you should use accelerometer. direction in difference in acceleration helps detect movement of arm. don't pay attention values of accelerometer, rather differences: can't detect arm is, neither if moved, can detect if accelerated , decelerated move.


Comments

Popular posts from this blog

javascript - Knockout pushing observable and computed data to an observable array -

Trouble making a JSON string -

sitecore - Resolve ISitecoreService using SimpleInjector -