cancel
Showing results for 
Search instead for 
Did you mean: 

Unity UI for Oculus Go?

konstantin_loze
Level 3
Hello everyone, I have started a new Unity project and imported the Oculus SDK for Unity. It has a sample UI scene with gaze control and 2 scripts - OVRInputModule.cs and OVRGazePointer.cs. I want to convert that gaze based UI control to using the Oculus Go controller as a laser pointer.
I looked at this post https://developer.oculus.com/blog/adding-gear-vr-controller-support-to-the-unity-vr-samples/ but it references other files that are not found in the Oculus SDK folder that I have. I tried to adapt some of the code and put it in the OVRInputModule.cs. It sort of works, but the linerenderer lags behind a frame or two.
Here is a link to the apk:
And to the whole project folder:
I also uploaded only the OVRInputModule.cs file:
And a pdf with trck changes from the original OVRInputModule.cs file:

I cannot believe that there are no scripts adapted to controller-based input. Am I missing something?
Thanks a lot in advance.
1 REPLY 1

Anonymous
Not applicable
Check out the AvatarSDK there are pre-built controllers in that library