Difference between revisions of "Particles:setParticleDecay"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' in development<br/> === Description === Configure decay values for the given particle <source lang="lua"> = Particles:setParticleDecay(idecayd...") |
|||
Line 4: | Line 4: | ||
Configure decay values for the given particle | Configure decay values for the given particle | ||
<source lang="lua"> | <source lang="lua"> | ||
− | + | Particles:setParticleDecay(i,decay,decayAlpha,decayGrowth,decayAngular) | |
</source> | </source> | ||
− | '''i | + | '''i''': (number) particle index ''''''<br/> |
− | '''decay | + | '''decay''': (number) speed decay factor ''''''<br/> |
− | '''decayAlpha | + | '''decayAlpha''': (number) alpha decay factor ''''''<br/> |
− | '''decayGrowth | + | '''decayGrowth''': (number) growth speed decay factor ''''''<br/> |
− | '''decayAngular | + | '''decayAngular''': (number) angular speed decay factor ''''''<br/> |
Revision as of 10:17, 23 August 2018
Available since: in development
Description
Configure decay values for the given particle
Particles:setParticleDecay(i,decay,decayAlpha,decayGrowth,decayAngular)
'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 '