create an app for Android that puts the user into a scene that they can look around by moving their device.
Basically using the device as a window into a different world.
Obviously the camera will be locked in position but will be able to rotate on the spot.
You can get accelerometer values from Input.acceleration . For example:
Vector3 vector =
new Vector3(Input.acceleration.x, Input.acceleration.y, Input.acceleration.z);Action Scripts virtual reality glasses specs make moves when you look forward and look at the bottom of the stand
use the script and put in unity drag and drop to GoogleVR
Enables Daydream and Cardboard app development in Unity.
Copyright (c) 2016 Google Inc. All rights reserved.
For updates, known issues, and upgrade instructions, see: https://developers.google.com/vr/unity/release-notes
For first time users, see the Get Started Guides for Android Cardboard, Android Daydream, and iOS Cardboard.
Mohamed Galal gmail
Mohamed Galal Anwer linkedin
move the Camera forward if u'd see https://www.youtube.com/watch?v=wPwgyE6x2K8