Difference between revisions of "Particles:setParticleDecay"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
<languages />
 
'''<translate>Available since</translate>:''' in development<br/>
 
'''<translate>Available since</translate>:''' in development<br/>
 
'''<translate>Class</translate>:''' [[Special:MyLanguage/Particles|Particles]]<br/>
 
'''<translate>Class</translate>:''' [[Special:MyLanguage/Particles|Particles]]<br/>

Revision as of 09:57, 3 September 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