Difference between revisions of "Particles:setParticleSpeed"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2016.06<br/> === Description === Set speed of particles <source lang="lua"> = Particles:setParticleSpeed(ixyas,) </source> '''i:''' (n...")
 
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''Available since:''' Gideros 2016.06<br/>
 
'''Available since:''' Gideros 2016.06<br/>
 +
'''Class:''' [[Particles]]<br/>
 +
 
=== Description ===
 
=== Description ===
Set speed of particles
+
Sets the speed of particles.
<source lang="lua">
+
<syntaxhighlight lang="lua">
= Particles:setParticleSpeed(ixyas,)
+
Particles:setParticleSpeed(i,x,y,[z],a,s)
</source>
+
</syntaxhighlight>
'''i:''' (number) particle index ''''''<br/>
+
 
'''x:''' (number) x vector '''optional'''<br/>
+
=== Parameters ===
'''y:''' (number) y vector '''optional'''<br/>
+
'''i''': (number) particle index<br/>
'''a:''' (number) angular velocity '''optional'''<br/>
+
'''x''': (number) x speed '''optional'''<br/>
'''s:''' (number) growth speed '''optional'''<br/>
+
'''y''': (number) y speed '''optional'''<br/>
 +
'''z''': (number) z speed (if the particle set is 3D) '''optional'''<br/>
 +
'''a''': (number) angular velocity '''optional'''<br/>
 +
'''s''': (number) growth speed '''optional'''<br/>
 +
 
 +
{{Particles}}

Latest revision as of 20:57, 21 September 2023