Type Number Object ParticleSystem Library physics.* Revision Release 2022.3683 Keywords particleDensity, physics, LiquidFun See also physics.newParticleSystem() object.particleRadius
This numerical property controls the density of particles. This value is 1.0
by default.
local particleSystem = physics.newParticleSystem( { filename = "particle.png", radius = 3 } ) particleSystem.particleDensity = 0.5