Jump to content

BABYLON.AssetContainer usage


Recommended Posts

@brianzinn, note that the call to scene.createDefaultVRExperience will create 5 cameras to begin with. Since you keep a singleton of the scene/vrHelper object, you want to keep these 5 cameras all the time in the scene object (don't remove these 5 cameras from the scene) as you juggle through the assets from the assets containers when switching scenes. Then you don't need to do the special cases to add missing cameras.

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.

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.


  • Recently Browsing   0 members

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