Oculus raycasting with Touch Controller to GUI

I’m struggling to find a way to get a ‘laser pointer’ from my Oculus Touch Controller to interact with the World Space GUI in my scene. I’ve followed the old instructions that do this for gaze, and have attempted to translate this over to the hand tracker, but I can’t get the raycast to interact with the buttons. Are there any decent tutorials on doing this?

1 Like

Following up on this: the Sample Frameworks has some great examples, and there’s also an article on Oculus’s dev pages that extends the OVRInput script to include a LineRenderer. You have to fiddle with the code to also include the Touch controllers (it is written for GearVR/Oculus Go).

2 Likes