Clément Espeute 1 месяц назад
Родитель
Сommit
686181a68f
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      hrt/prefab/fx/FX.hx

+ 5 - 0
hrt/prefab/fx/FX.hx

@@ -323,6 +323,11 @@ class FXAnimation extends h3d.scene.Object {
 
 		if (fullSync) {
 			syncAnims(localTime, dt);
+
+			if(customAnims != null)
+				for(anim in customAnims)
+					anim.setTime(localTime);
+
 			syncParticles(localTime, dt, isSeek);
 
 			for (t in trails) {