Difference between revisions of "ParticleSystem:setGravity"

Line 14: Line 14:
 
* [[parent::ParticleSystem]]
 
* [[parent::ParticleSystem]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Sets the gravity affecting the particles (acceleration along the y-axis).
+
{{#set:Description=Sets the gravity affecting the particles (acceleration along the y-axis).}}
}}
+
{{#set:Since=000}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|ParticleSystem:setGravity}}
 
{{i18n|ParticleSystem:setGravity}}

Revision as of 10:05, 25 March 2011

Sets the gravity affecting the particles (acceleration along the y-axis). Every particle created will have a gravity between min and max.

Function

Synopsis

ParticleSystem:setGravity( min, max )

Arguments

number min
The minimum gravity.
number max (min)
The maximum gravity.

Returns

Nothing.

See Also


Other Languages