Forum Discussion
konstantin_loze
7 years agoExplorer
Unity UI for Oculus Go?
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
Replies have been turned off for this discussion
- AnonymousCheck out the AvatarSDK there are pre-built controllers in that library
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
- 2 years ago
- 9 months ago