From 2357837c43cd28f82eeb87ca2a46a8311b264ace Mon Sep 17 00:00:00 2001
From: Curry <72790869+CURR-E@users.noreply.github.com>
Date: Tue, 27 Jun 2023 21:15:57 +1000
Subject: [PATCH] Correct description of
ParticleProcessMaterial.lifetime_randomness
---
doc/classes/ParticleProcessMaterial.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/classes/ParticleProcessMaterial.xml b/doc/classes/ParticleProcessMaterial.xml
index d0af347a493..3a7fa0760f7 100644
--- a/doc/classes/ParticleProcessMaterial.xml
+++ b/doc/classes/ParticleProcessMaterial.xml
@@ -209,7 +209,7 @@
Minimum equivalent of [member initial_velocity_max].
- Particle lifetime randomness ratio. The lifetime will be multiplied by a value interpolated between [code]1.0[/code] and a random number less than one. For example a random ratio of [code]0.4[/code] would scale the original lifetime between [code]0.4-1.0[/code] of its original value.
+ Particle lifetime randomness ratio. The equation for the lifetime of a particle is [code]lifetime * (1.0 - randf() * lifetime_randomness)[/code]. For example, a [member lifetime_randomness] of [code]0.4[/code] scales the lifetime between [code]0.6[/code] to [code]1.0[/code] of its original value.
Each particle's linear acceleration will vary along this [CurveTexture].