dataarts / dat.guiVR

A flexible graphical user interface for changing variables within WebVR.
https://workshop.chromeexperiments.com/examples/guiVR/
Apache License 2.0
312 stars 49 forks source link

Create a "gaze based" example #26

Closed customlogic closed 8 years ago

customlogic commented 8 years ago

An example that can be used on Cardboard. Gaze (a dot in the center of view) controls the "laser pointer", a touch anywhere on the screen is the "trigger"

https://github.com/borismus/webvr-boilerplate

mflux commented 8 years ago

There's now a gaze.html which you can test. To "press" simply click or use touch anywhere on the webpage.

Probably need a hook to disable actual mouse interaction as well, since the two will step on each others' toes.

mflux commented 8 years ago

Also made it so you can add just the view cursor but not the laser.