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 VR in Unity VR Setup HTC Vive Setup

Kyle Hinterser
Kyle Hinterser
816 Points

Height Too High on Vive

Have everything set up the same way as in the video, reran the VR Setup to standing room, and have the code the same, but the height for my VR camera is too high. My feet circle is at the height of the camera in the "Scene" mode of Unity.

Any ideas? Only differences are Unity version (2018.1.0f2) and using the non-deprecated XRDevice and XRSettings instead of VRDevice and VRSettings

Kyle Hinterser
Kyle Hinterser
816 Points

So, setting the Player position in Unity to 0 (doing whatever to the "openVRPosition" in the script file seemed to do nothing) seems to have fixed this issue. Now sure if there was a change to the API or what, but it seems that settings the localPosition does nothing for my view.