diff --git a/src/components/wall.js b/src/components/wall.js index 9b13d0c..80f132e 100644 --- a/src/components/wall.js +++ b/src/components/wall.js @@ -77,6 +77,7 @@ AFRAME.registerComponent('wall', { play: function () { this.el.object3D.visible = true; this.el.setAttribute('data-collidable-head', ''); + this.el.setAttribute('raycastable-game'); }, tock: function (time, timeDelta) {