restore wall raycastable-game

This commit is contained in:
Kevin Ngo
2018-12-10 17:41:31 -08:00
parent 58592ea9bb
commit 17aa58d6b4

View File

@@ -77,6 +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');
}, },
tock: function (time, timeDelta) { tock: function (time, timeDelta) {