B2.World:createParticleSystem

From GiderosMobile
Revision as of 10:04, 23 August 2018 by Hgy29 (talk | contribs) (Created page with "__NOTOC__ '''Available since:''' Gideros 2015.06.30<br/> === Description === Creats new particle system, which will use Liquid fun. Parameters that you can provide in table: "...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2015.06.30

Description

Creats new particle system, which will use Liquid fun. Parameters that you can provide in table: "pressureStrength", "dampingStrength", "elaticStrength", "springStrength", "viscousStrength", "surfaceTensionPressureStrength", "surfaceTensionNormalStrength", "repulsiveStrength", "powderStrength", "ejectionStrength", "staticPressureStrength", "staticPressureRelaxation", "colorMixingStrength", "lifetimeGranularity", "radius", "staticPressureIterations", "destroyByAge"

(b2.ParticleSystem), = b2.World:createParticleSystem(particleSysDef,)

'particleSysDef: (table) parameters that define particle system '
Returns (b2.ParticleSystem) new particle system