Usage:
- Add the component to the scene
- Call SensorFusion.Recenter() to "reset" the rotation
- Call SensorFusion.GetOrientation() to get the current rotation
Amazing post about it: http://smus.com/sensor-fusion-prediction-webvr/
Sensor fusion for Unity (gyroscope and accelerometer) to get smooth orientation data from mobile devices without drift. Based on github.com/googlevr/webvr-polyfill
C#MIT
Usage:
Amazing post about it: http://smus.com/sensor-fusion-prediction-webvr/