Android Game Programming -- Accelerometer vs. Compass -
hello stackoverflowers,
i designing game android plan on allowing user move in 4 different directions (up, down, left, , right). implement using either sensor.type_accelerometer or sensor.type_orientation. if doing above-four-specified directions, there advantage using sensor.type_accelerometer on sensor.type_orientation, or vice versa? in advance answers, help, , suggestions.
justin.
when "move" mean tilt or translate?
using accelerometer , gyroscope simultaneously should give coverage of motion necessary divine up,down,left,right. use type_accelerometer , type_gyroscope in coordinated fashion.
sensor.type_orientation deprecated, believe.
i caveat answer saying ios developer, have couple of finished android projects , both ndk based....
Comments
Post a Comment