Table of Contents

Particles:setParticleDecay

Available since version: in development

Description:

Configure decay values for the given particle

Syntax:

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