wall attach particles in component
This commit is contained in:
@@ -137,7 +137,6 @@
|
||||
|
||||
<a-mixin
|
||||
id="wall"
|
||||
data-saber-particles
|
||||
geometry
|
||||
material="shader: wallShader; transparent: true; side: double;"
|
||||
wall></a-mixin>
|
||||
|
||||
@@ -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', '');
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user