Difference between revisions of "Particles:setParticleDecay"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''<translate>Available since</translate>:''' in development<br/>
 
'''<translate>Available since</translate>:''' in development<br/>
 +
'''<translate>Class</translate>:''' [[Special:MyLanguage/Particles|Particles]]<br/>
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
 
<translate>Configure decay values for the given particle</translate>
 
<translate>Configure decay values for the given particle</translate>

Revision as of 09:27, 24 August 2018

Available since: in development
Class: Particles

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