Jump to content

Make WebVR Camera Start from the Ground


ranagraw
 Share

Recommended Posts

When we enter into VR mode (using the defaultVRExperience), the VR camera is at the same position as the desktop view camera. So, if a user played with the default Universal Camera before entering into VR, (s)he would begin somewhere in the air.

To fix this, I added an `onEnteringVRObservable` that changes the position of the WebVR camera, but that didn't seem to work (https://playground.babylonjs.com/#VTUSD6). How can I make the user start from the ground (a fixed point on the ground will also work)?

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...