SET PARTICLE GRAVITY This command will set the gravity of particles within the particles object.
Syntax
    SET PARTICLE GRAVITY Particle Number, Gravity Value
Parameters
    Particle Number
Integer The particle object number
    Gravity Value
Float A negative gravity value will actually pull the particle upwards at a rotation of 0,0,0. A high positive gravity value will make the particle very heavy
Returns
This command does not return a value.
Description
This controls the actual course of the particle. A negative gravity value will actually pull the particle upwards at a rotation of 0,0,0. A high positive gravity value will make the particle very heavy. The default is a gravity value of 5.
Example Code
    make particles 4, 0, 10, 10.0

    position particles 4, 3, 2, 10

    set particle emissions 4, 1

    set particle speed 4, 0.005

    set particle velocity 4, 10

    set particle gravity 4, rnd(5)

    do

    loop

    delete particles 4

    end
See also
PARTICLES Commands Menu Index