Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Virtual Reality Room-Scale VR Interacting with Objects Script Setup and Detecting Intersections

John Kirby Campbell
John Kirby Campbell
3,552 Points

I'm using Oculus Rift with Touch & am having trouble porting this lesson over to the Oculus Avatar Touch controller.

Hey! So I've managed to figure out how to get the Oculus Hands and controllers to show up, and i've done some digging online for ways to grab similar to this project. Is there a way to use the Oculus Touch controllers with the SteamVR plugin so I don't go totally rogue on this lesson? Seems like there may be a simple fix to mapping the controller (left) and (right) to the touch controller.

Where I'm at: Option 1: I've gotten the code written for the SteamVR Plugin, and when it runs I see no controllers or hands at all. (Probably because I'm using touch controllers and there is a disconnect in the controller objects)

Option 2: I've imported Oculus Avatar SDK and the rest of the Oculus SDK, and managed to get the hands and controllers showing up and responding to all of my inputs, yet I'm on my own as far as figuring out the code for grabbing and throwing in relation to this project. (any insight on this would be great). ((fyi, it is switched over to oculus on the player settings instead of OpenVR)).

Thanks for the help in advance, I'm willing to go either route in the end, really whatever keeps me on track for the lessons! -k