Demo

Test on your phone http://output.jsbin.com/gogoci/

Exercise :

  1. Add a light switch to the room you created before.
  2. Add a light.
  3. Add the possiblity to walk in the room using the button on the cardboard or the WASD keys on a computer (tip you will need to import and use the extras component with its universal-controls attribute, if you don't know what a component is, do ask aloud for a short presentation! If you don't ask I'll know.).
  4. Add the possibility to change things when you arrive nearby the switch (again importing then using a component, this time triggerbox component)
  5. When you reach the switch make it turn off the light.

That is a lot... but it's worth it. Do try it in VR, not solely on your laptop.

Done? Congratulations that was a lot.


Done? Go back to learn more.