MozillaReality / horizon

(2015) Horizon was an experimental VR browser built on web standards using CSS-VR.
http://mozvr.github.io/horizon/web/
Other
1 stars 0 forks source link

Add "Reset Sensor" button in HUD #89

Open cvan opened 9 years ago

cvan commented 9 years ago

https://trello.com/c/IBLEJYzc/134-reset-sensor-button-in-hud

When I am viewing a website in VR, I want to be able to access my browser controls in place, so that I can perform browsing operations without losing losing my sense of place.

Resets HMD sensor when pressed

caseyyee commented 9 years ago

Probably want to map this to a keypress or a button rather than HUD. The direction you are resetting to is probably not going to be where the HUD interface will be.

jcarpenter commented 9 years ago

We need it in the HUD also, because we can't rely on the keyboard button not being over-ridden by developers, or on the user having a keyboard at all. All critical functions must work with GearVR-calibre input model.

jcarpenter commented 9 years ago

Per discussion during work week, will check how GearVR implements this in a look-based cursor-model context.

jcarpenter commented 9 years ago

The GearVR solution is to set the sensor to whatever the user's forward vector was when they invoked the system menu. For example:

cvan commented 9 years ago

From @caseyyee in https://github.com/MozVR/horizon/issues/86#issuecomment-121322335:

We have center viewport currently mapped to the back button on the Xbox controller (left of the vendor button). This is actually a pretty convenient place for it, but we could still use some UI to go with it.