cancel
Showing results for 
Search instead for 
Did you mean: 

Oculus Touch + Unity UI samples?

AoS.Wasted
Expert Protege
Are there any samples somewhere around / or tutorial like information about using the Touch controller with Worldspace UI's in Unity?

So not the 'gaze' based UI but using the Touch controllers to navigate the UI.

Thanks in advance for helping me out.
4 REPLIES 4

AoS.Wasted
Expert Protege
Thanks for replying! looking forward to the samples

Anonymous
Not applicable
Hi has there been any progress on this sample? Also I can't seem to find any documentation on touch controllers interacting with Unity's UI system? Can anyone provide some links other than the Gaze input sample?

This is really easy to change if you take Oculus's supplied code for a Input Module, all you have to do is change the Transforms from referencing the main camera or in this case Center Eye Camera to your Touch controller. So the Raycast comes from your controller model instead of the Camera.



@justin.wasilenko

This has been in the sample framework for Unity 5 for a while now. See 'ovrinputmodule'.



Ahh cool, I had to modify it myself to work before, hadn't checked it out in a while.