From 3a66d88be208948177781f6ec3cdd6b7e32e2f01 Mon Sep 17 00:00:00 2001 From: Qbieshay Date: Fri, 7 Nov 2025 17:23:40 +0100 Subject: [PATCH] Fix CPUParticle3D not randomizing --- scene/3d/cpu_particles_3d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/3d/cpu_particles_3d.cpp b/scene/3d/cpu_particles_3d.cpp index 64333e4ef38..d8f158a2d30 100644 --- a/scene/3d/cpu_particles_3d.cpp +++ b/scene/3d/cpu_particles_3d.cpp @@ -828,7 +828,7 @@ void CPUParticles3D::_particles_process(double p_delta) { tex_anim_offset = curve_parameters[PARAM_ANGLE]->sample(tv); } - p.seed = seed + uint32_t(1) + i + cycle; + p.seed = seed + uint32_t(1) + i + cycle * pcount; rng->set_seed(p.seed); p.angle_rand = rng->randf(); p.scale_rand = rng->randf();