Demo http://output.jsbin.com/gogoci/
Exercise :
- Add a light switch to the room you created before.
- Add a light.
- 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.).
- Add the possibility to change things when you arrive nearby the switch (again importing then using a component, this time
triggerbox
component)
- 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.