Particles:setParticleDecay
From GiderosMobile
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