Quantcast
Channel: AR/VR (XR) Discussion
Viewing all articles
Browse latest Browse all 12131

No camera rotation on Android (5.1.1f1)

$
0
0
I'm experimenting with the new Unity VR support using an Android 5.1.1 phone and the newest Unity 5 version (5.1.1f1).
This is my setup:
I've created a scene and added a camera as a child of an empty gameobject. On this gameobject I have a little script for rotation itself

protected void Update ()
{
transform.rotation = InputTracking.GetLocalRotation(VRNode.Head);
}


If I install this on my Android nothing happens. I just see a 3d picture of my scene (using a...

No camera rotation on Android (5.1.1f1)

Viewing all articles
Browse latest Browse all 12131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>