- Home /
Question by
tenguzame · Mar 10, 2017 at 02:39 PM ·
accelerometerwindows phone
Control camera through Windows Phone accelerometer
Dear all, I'm trying to develop a very small and personal VR project. I want users to be able to look and navigate through a simulated environment which I have previously modeled and imported in Unity. Within the thread https://forum.unity3d.com/threads/rotating-camera-via-tablet-or-android-devices-rotation.283293/ I found a very useful script that uses accelerometer data to rotate the camera. The script kind of works: I can move the camera up and down. I also would like to be able to pan the camera left and right, but I can't figure out why it's not working. I need accelerometer input, not gyroscope input, since my phone is quite old. What can I do to fix it?
-MikeT
Comment