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(i,x,y,a,s) | |
</source> | </source> | ||
− | '''i | + | '''i''': (number) particle index ''''''<br/> |
− | '''x | + | '''x''': (number) x vector '''optional'''<br/> |
− | '''y | + | '''y''': (number) y vector '''optional'''<br/> |
− | '''a | + | '''a''': (number) angular velocity '''optional'''<br/> |
− | '''s | + | '''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