Open cvan opened 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.
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.
Per discussion during work week, will check how GearVR implements this in a look-based cursor-model context.
The GearVR solution is to set the sensor to whatever the user's forward vector was when they invoked the system menu. For example:
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.
https://trello.com/c/IBLEJYzc/134-reset-sensor-button-in-hud