object.particleGravityScale

Type Number
Object ParticleSystem
Library physics.*
Revision Current Public Release (2017.3068)
Keywords particleGravityScale, physics, LiquidFun
See also physics.newParticleSystem()

Overview

This numerical property controls the scaling of gravity. This value is 1.0 by default.

Example

local particleSystem = physics.newParticleSystem(
    {
        filename = "particle.png",
        radius = 2
    }
)

particleSystem.particleGravityScale = 1.0