Difference between revisions of "Particles:setParticleDecay"

From GiderosMobile
Line 6: Line 6:
 
  Particles:setParticleDecay(i,decay,decayAlpha,decayGrowth,decayAngular)
 
  Particles:setParticleDecay(i,decay,decayAlpha,decayGrowth,decayAngular)
 
</source>
 
</source>
'''i''': (number) particle index ''''''<br/>
+
=== Parameters ===
'''decay''': (number) speed decay factor ''''''<br/>
+
'''i''': (number) particle index <br/>
'''decayAlpha''': (number) alpha decay factor ''''''<br/>
+
'''decay''': (number) speed decay factor <br/>
'''decayGrowth''': (number) growth speed decay factor ''''''<br/>
+
'''decayAlpha''': (number) alpha decay factor <br/>
'''decayAngular''': (number) angular speed decay factor ''''''<br/>
+
'''decayGrowth''': (number) growth speed decay factor <br/>
 +
'''decayAngular''': (number) angular speed decay factor <br/>

Revision as of 10:44, 23 August 2018

Available since: in development

Description

Configure decay values for the given particle

 Particles:setParticleDecay(i,decay,decayAlpha,decayGrowth,decayAngular)

Parameters

i: (number) particle index
decay: (number) speed decay factor
decayAlpha: (number) alpha decay factor
decayGrowth: (number) growth speed decay factor
decayAngular: (number) angular speed decay factor