From ed9fb06dde2215d65ce4bb9ccf2f5dc802e75454 Mon Sep 17 00:00:00 2001 From: liteng <930372551@qq.com> Date: Wed, 21 Nov 2018 07:48:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=92=AD=E6=94=BE=E5=99=A8=E5=B8=83=E5=8A=A8?= =?UTF-8?q?=E7=94=BB=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ShadowEditor.Web/src/player/animator/ParticleAnimator.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ShadowEditor.Web/src/player/animator/ParticleAnimator.js b/ShadowEditor.Web/src/player/animator/ParticleAnimator.js index a065df0b..982670e1 100644 --- a/ShadowEditor.Web/src/player/animator/ParticleAnimator.js +++ b/ShadowEditor.Web/src/player/animator/ParticleAnimator.js @@ -28,6 +28,8 @@ ParticleAnimator.prototype.update = function (clock, deltaTime, time) { n.update(); } else if (n.userData.type === 'ParticleEmitter') { n.userData.group.tick(deltaTime); + } else if (n.userData.type === 'Cloth') { + n.update(); } }); };