W3cubDocs

/LÖVE

ParticleSystem:setLinearDamping

Available since LÖVE 0.9.2
This function is not supported in earlier versions.

Sets the amount of linear damping (constant deceleration) for particles.

Function

Synopsis

ParticleSystem:setLinearDamping( min, max )

Arguments

number min
The minimum amount of linear damping applied to particles.
number max (min)
The maximum amount of linear damping applied to particles.

Returns

Nothing.

See Also

© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/ParticleSystem:setLinearDamping