Difference between revisions of "Particles:setParticleDecay"

From GiderosMobile
 
(2 intermediate revisions by one other user not shown)
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
 
Configures decay values for the given particle.
 
Configures decay values for the given particle.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
Particles:setParticleDecay(i,decay,decayAlpha,decayGrowth,decayAngular)
 
Particles:setParticleDecay(i,decay,decayAlpha,decayGrowth,decayAngular)
</source>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===
Line 17: Line 17:
  
 
Since Gideros 2022.5, '''decay''' can be a vector allowing to set x,y and z decay independantly.
 
Since Gideros 2022.5, '''decay''' can be a vector allowing to set x,y and z decay independantly.
 +
 
{{Particles}}
 
{{Particles}}

Latest revision as of 20:53, 21 September 2023