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