From 44b4448b9b0575be83bdb7b0d44bfcabc085946b Mon Sep 17 00:00:00 2001 From: Kevin Ngo Date: Mon, 10 Dec 2018 18:04:20 -0800 Subject: [PATCH] fix wall collision with saber --- src/components/wall.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {