Difference between revisions of "B2.World:createParticleSystem"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
+ | <languages /> | ||
'''<translate>Available since</translate>:''' Gideros 2015.06.30<br/> | '''<translate>Available since</translate>:''' Gideros 2015.06.30<br/> | ||
'''<translate>Class</translate>:''' [[Special:MyLanguage/b2.World|b2.World]]<br/> | '''<translate>Class</translate>:''' [[Special:MyLanguage/b2.World|b2.World]]<br/> |
Revision as of 09:58, 3 September 2018
Available since: Gideros 2015.06.30
Class: b2.World
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)
Parameters
particleSysDef: (table) parameters that define particle system
Return values
Returns (b2.ParticleSystem) new particle system