- Home /
How to get Oculus physical lens spacing in Unity
Hi, Oculus rift has a "Change lens spacing" screen where you can adjust the slider of lens spacing and the value would show changing. In Unity is it possible to get this value? Thanks.
Answer by kevin0228ca · Jul 25, 2017 at 01:02 AM
Correct answer by Oculus staff Vector3.Distance(UnityEngine.VR.InputTracking.GetLocalPosition(UnityEngine.VR.VRNode.LeftEye), UnityEngine.VR.InputTracking.GetLocalPosition(UnityEngine.VR.VRNode.RightEye));
Your answer
Follow this Question
Related Questions
Oculus/Android/gradle build issue 0 Answers
OVRP_1_1_0.ovrp_GetNativeSDKVersion() returns null 0 Answers
Mirror: Can't connect to Oculus Quest 2 (Android) Host - Instant Disconnect 1 Answer
How do I keep track of a grabbable object in Unity XR? 0 Answers
Is it possible to override the texture component values even though the variable is set to public? 0 Answers