fix wall collision with saber

This commit is contained in:
Kevin Ngo
2018-12-10 18:04:20 -08:00
parent 48f5fe8e88
commit 44b4448b9b

View File

@@ -77,7 +77,7 @@ AFRAME.registerComponent('wall', {
play: function () { play: function () {
this.el.object3D.visible = true; this.el.object3D.visible = true;
this.el.setAttribute('data-collidable-head', ''); this.el.setAttribute('data-collidable-head', '');
this.el.setAttribute('raycastable-game'); this.el.setAttribute('raycastable-game', '');
}, },
tock: function (time, timeDelta) { tock: function (time, timeDelta) {