Available since LÖVE 0.9.0 |
It has replaced ParticleSystem:setGravity. |
Sets the linear acceleration (acceleration along the x and y axes) for particles.
Every particle created will accelerate along the x and y axes between xmin,ymin and xmax,ymax.
ParticleSystem:setLinearAcceleration( xmin, ymin, xmax, ymax )
number xmin
number ymin
number xmax (xmin)
number ymax (ymin)
Nothing.