Take a look at the source code for Don McCurdy's βWallsβ example:
https://sandbox.donmccurdy.com/vr/walls/
Note the addition of a physical component to the a-scene element. This is what gets magic.
You need to include aframe-extras script along with aframe.
source
share