Jump to content

Interaction with mobile VR


erixon
 Share

Recommended Posts

Ok I thought I missed something here, but of course it's not babylonjs fault with the lack of controls and js support of the magnet button.

Was just happy that I could do mobile VR stuff and release on the web, til I understood that I can't click with cardboard/plastic VR stuff..  can just wait for the standards..

 

Link to comment
Share on other sites

Actually for user interaction inside app targeted for VR headset, people use orientation as pointer. So there would be one pointer at center (a dot ) which would move in all direction as you move your head. You can have 2D or 3D UI controls on screen. Wherever user keep pointer steady for x seconds, it can be considered as click or tap.  So if user has to press button, user has to keep the pointer steady over the button for x seconds. This is how normally VR apps does. You can check many media app for watching movies( For ex "Vu Cinema"  on android) . 

 

I am assuming this is what you were asking. 

Link to comment
Share on other sites

That is a solution of course. Actually I have not been into VR at all before and just tested out some apps with Google cardboard. Maybe my expectations were too high of doing some kind of public 3D game where you moving around, shoot or pick stuff with some action button (or double click).

Thanks for all answers.

Link to comment
Share on other sites

On 30/06/2016 at 9:54 PM, erixon said:

Ok I thought I missed something here, but of course it's not babylonjs fault with the lack of controls and js support of the magnet button.

Was just happy that I could do mobile VR stuff and release on the web, til I understood that I can't click with cardboard/plastic VR stuff..  can just wait for the standards..

 

Most of the new headsets, including Cardboard, have a button which will trigger a touch right in the area in-between the 2 view ports.  With that you can detect touch, long-touch, double-touch.  Unfortunately its just a general touch with no position information.  You just have to be clever how you combine those events with orientation.

Link to comment
Share on other sites

On 2016-07-02 at 5:59 PM, ozRocker said:

Most of the new headsets, including Cardboard, have a button which will trigger a touch right in the area in-between the 2 view ports.  With that you can detect touch, long-touch, double-touch.  Unfortunately its just a general touch with no position information.  You just have to be clever how you combine those events with orientation.

Thanks that looks very promising, was hard to find information about that.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...