VRandArchI Posted May 21, 2019 Share Posted May 21, 2019 I've e-mailed it to 7invensun, guess I'll also share it here There is a small error in Unity version of SRanipal SDK, version 18.104.22.168, probably caused by copy-pasting error. File: ViveSR\Scripts\SRanipal_Eye.cs, line 366 Function: SRanipal_Eye.Focus(GazeIndex index, out Ray ray, out FocusInfo focusInfo, float maxDistance) Description: maxDistance parameter is ignored in later call Solution: Change line return Focus(index, out ray, out focusInfo, 0, float.MaxValue); to return Focus(index, out ray, out focusInfo, 0, maxDistance); Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now