ParticleSystem:setGravity( min, max )
Sets the gravity affecting the particles (acceleration along the y-axis).
Every particle created will have a gravity between min and max.
Synopsis
ParticleSystem:setGravity( min, max )
Parameters
min |
number |
The minimum gravity. |
max = min |
number |
The maximum gravity. |