Difference between revisions of "Particles:setParticleDecay"

From GiderosMobile
(removed language stuff)
 
(3 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 15: Line 15:
 
'''decayGrowth''': (number) growth speed decay factor<br/>
 
'''decayGrowth''': (number) growth speed decay factor<br/>
 
'''decayAngular''': (number) angular speed decay factor<br/>
 
'''decayAngular''': (number) angular speed decay factor<br/>
 +
 +
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