mtwoodard/hypVR-Ray

Add VR Controller Support

Closed this issue · 3 comments

There are a few tasks to be done for the VR controllers.

  • Track controllers and pass info to shader

  • Attach light objects to controllers

  • Add simple flight controls in order to move around the scene

  • Allow for different types of controllers (i.e. Vive, Oculus, etc.)

  • Control brightness and hue from controller

  • Add Ellipsoid like shapes for the controller body

Found this helpful guide to the script that we'll be using https://www.npmjs.com/package/three-vive-controller, the npm stuff can just be disregarded.

On further research I found a better basis for VR Controller here. This will allow for different platforms than just the Vive.

You should now be able to fly in the direction you are looking by holding done the primary controller button (e.g. the trigger on the vive controller).