Some variants of the current google cardboard designs as well as the merge vr goggles use simple touch interactions (without any additional controller). How would it be possible to use the babylon gui with these kind of goggles, concering following issues:
gaze interaction: a press on a touch-button (seperate from the gaze target) needs to trigger a babylon gui element. pickWithRay is not an option, as this doesnt work with gui elements (as far is i know).
the non stereo buttons, needed for the touch interaction, probably prevent the use of the webvr helper (as the webvr button only renders the canvas element fullscreen and therefore “removes” the html buttons). Also touch interactions dont seem to work on some phones during webvr-mode.
The webvr helper probably holds the solution to this problem, as the gazecontrollers somehow simulates pointer events.
Simple Scene which shows the setup: the blue buttons represent buttons, which could be used for google cardboard / merge vr, the fullscreen button calls a custom fullscreen function, which uses the document as fullscreen target (to keep the single rendered html buttons)
Scenario: the gaze target is over a babylon gui element -> the user presses one of the blue buttons ->
a gui event should be triggered (emulating a regular touch / click on the gui element)