ParticleSystem:getRotation

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

Gets the rotation of the image upon particle creation (in radians).

Function

Synopsis

min, max = ParticleSystem:getRotation( )

Arguments

Nothing.

Returns

number min
The minimum initial angle (radians).
number max
The maximum initial angle (radians).

See Also

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