Jump to content

Handsfree Transitioning Between VR and Camera Views

Recommended Posts

I'm currently working on a project where I will be switching between the HTC Vive Pro's VR view and that of the external cameras. At the moment, I need to go into Steam VR to enable the cameras and manually make the transition. Ideally, I would like to program a method that would allow me to switch views by a head movement using the Vive Pro's built in gyroscopes and accelerometers; however, I'm unsure how to do so.

Link to comment
Share on other sites


You can enter and  exit the roomview by double tapping the system button (as long as room view it enabled within SteamVR's settings).  

Otherwise, to do what you're describing, you'd have to write an OpenVR plugin or code it into your app. For OpenVR, you'll want to look at IVRTrackedCamera. 


There is a Unity blog on how to use tron mode within the engine here which could form the basis of a runtime effort to achieve this. 


Overall, it's probably easiest and safest for your neck to just use the doubletap option. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...