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...")
 
Line 4: Line 4:
 
Set speed of particles
 
Set speed of particles
 
<source lang="lua">
 
<source lang="lua">
= Particles:setParticleSpeed(ixyas,)
+
Particles:setParticleSpeed(i,x,y,a,s)
 
</source>
 
</source>
'''i:''' (number) particle index ''''''<br/>
+
'''i''': (number) particle index ''''''<br/>
'''x:''' (number) x vector '''optional'''<br/>
+
'''x''': (number) x vector '''optional'''<br/>
'''y:''' (number) y vector '''optional'''<br/>
+
'''y''': (number) y vector '''optional'''<br/>
'''a:''' (number) angular velocity '''optional'''<br/>
+
'''a''': (number) angular velocity '''optional'''<br/>
'''s:''' (number) growth speed '''optional'''<br/>
+
'''s''': (number) growth speed '''optional'''<br/>

Revision as of 10:17, 23 August 2018

Available since: Gideros 2016.06

Description

Set speed of particles

 Particles:setParticleSpeed(i,x,y,a,s)

'i: (number) particle index '
x: (number) x vector optional
y: (number) y vector optional
a: (number) angular velocity optional
s: (number) growth speed optional