From 855b7e6add7b531c0e2456c0bbe04e48b3c68f3f Mon Sep 17 00:00:00 2001 From: Nixon Date: Sat, 27 Aug 2022 17:48:19 +0800 Subject: [PATCH] ensure particle are always behind characters --- src/particle_effect.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/particle_effect.rs b/src/particle_effect.rs index 26e275a..4912d46 100644 --- a/src/particle_effect.rs +++ b/src/particle_effect.rs @@ -143,5 +143,6 @@ fn particle_effect_system( / particle_effect.radius_squared, ); } + transform.translation.z = 0.005; } }