Search code examples
aframewebvr

How to use A-Frame to build a multi-scene VR game?


If I want to build a game with several scenes, how can I realize this with A-Frame? Is it feasible to wrap the elements in an empty entity with different page id? Thank you!


Solution

  • You can switch the scene with JS: https://github.com/aframevr/aframe/issues/1023

    A working example is here: https://curious-electric.com/w/experiments/aframe/scene-switch/