pwmckenna / react-native-motion-manager

CMMotionManager wrapper for react-native
https://www.npmjs.com/package/react-native-motion-manager
247 stars 69 forks source link

Expose access to attitude data #7

Closed paramaggarwal closed 9 years ago

paramaggarwal commented 9 years ago

From CMDeviceMotion docs:

An instance of CMDeviceMotion encapsulates measurements of the attitude, rotation rate, and acceleration of a device.

Currently can only get Accelerometer, Gyroscope and Magnometer separately. Attitude data gives combined data about motion, which is super useful to say make an virtual reality app.

(Raised this to keep track of it, not asking for a fix - I do understand that it is the community's responsibility to help out.)

paramaggarwal commented 9 years ago

I made https://github.com/paramaggarwal/react-native-device-motion for this.

pwmckenna commented 9 years ago

that looks awesome!