Forum Discussion
tdsgearvr2
9 years agoExplorer
OvrPlugin.ipd doesn't work on gear vr
Hey guys, From Unity, it seems that the parameters "Stereo Separation" and Stereo Convergence" don't affect anythings. At least I didn't find the code that change any proprieties in the platform li...
ShawnFeatherly
7 years agoExplorer
This post came up while doing some Googling. I found setting a custom IPD for the Rift to work in Unity 2018.2.0f1 with the follow:
float myDreamIpd = 0.042f; // enter the IPD in meters
var leftEye = UnityEngine.XR.InputTracking.GetLocalPosition(UnityEngine.XR.XRNode.LeftEye);
var rightEye = UnityEngine.XR.InputTracking.GetLocalPosition(UnityEngine.XR.XRNode.RightEye);
float hardwareIpd = Vector3.Distance(leftEye, rightEye);
float scale = myDreamIpd / hardwareIpd;
Camera.main.transform.localScale = new Vector3(scale, 1, 1);
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 3 months ago
- 4 months ago
- 5 years ago