wall attach particles in component

This commit is contained in:
Kevin Ngo
2018-12-10 18:38:20 -08:00
parent 784945a507
commit ee5e8577c0
2 changed files with 1 additions and 1 deletions

View File

@@ -137,7 +137,6 @@
<a-mixin
id="wall"
data-saber-particles
geometry
material="shader: wallShader; transparent: true; side: double;"
wall></a-mixin>

View File

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