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

How can I disable the positional tracking in Unity 5.4.0p4 for VR devices?

$
0
0
Hi,

I'm on Unity 5.4.0p4 and need to disable the positional tracking for the camera. I need only the rotational tracking.

In previous Unity3D versions I used the OVR implementation and moved the camera game object to the center:
void FixedUpdate() {
myCamera.transform.position = new Vector3 (0,0,0);
}

And now with the Unity VR implementation, I placed the camera into an empty game object (myCameraRig) and moved this:
myCameraRig.transform.position = new Vector3...

How can I disable the positional tracking in Unity 5.4.0p4 for VR devices?

Viewing all articles
Browse latest Browse all 12131

Trending Articles