I was trying to make a VR game about wing suit flying, and I wanted to use the accelerometer in the phone to track the head movement. I wanted to allow the players to rotate the character when they raise and lower their heads. But because the startup position of the phone is vertical to the ground, Input.acceleration.x will get the same value moving in either direction. Is there any way to implement this?
↧