From ee5e8577c036e7d8c536abb879a348824c76df20 Mon Sep 17 00:00:00 2001 From: Kevin Ngo Date: Mon, 10 Dec 2018 18:38:20 -0800 Subject: [PATCH] wall attach particles in component --- src/assets.html | 1 - src/components/wall.js | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/assets.html b/src/assets.html index 0a27d85..8563e48 100644 --- a/src/assets.html +++ b/src/assets.html @@ -137,7 +137,6 @@ diff --git a/src/components/wall.js b/src/components/wall.js index f9edff7..92001d0 100644 --- a/src/components/wall.js +++ b/src/components/wall.js @@ -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', ''); },