Difference between revisions of "Particles:setParticleSpeed"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | '''Available since:''' Gideros 2016.06<br/> | + | '''<translate>Available since</translate>:''' Gideros 2016.06<br/> |
− | === Description === | + | === <translate>Description</translate> === |
<translate>Set speed of particles</translate> | <translate>Set speed of particles</translate> | ||
<source lang="lua"> | <source lang="lua"> | ||
Particles:setParticleSpeed(i,x,y,a,s) | Particles:setParticleSpeed(i,x,y,a,s) | ||
</source> | </source> | ||
− | === Parameters === | + | === <translate>Parameters</translate> === |
'''i''': (number) <translate>particle index</translate> <br/> | '''i''': (number) <translate>particle index</translate> <br/> | ||
'''x''': (number) <translate>x vector</translate> '''optional'''<br/> | '''x''': (number) <translate>x vector</translate> '''optional'''<br/> |
Revision as of 07:27, 24 August 2018
Available since: Gideros 2016.06
Description
Set speed of particles
Particles:setParticleSpeed(i,x,y,a,s)
Parameters
i: (number) particle index
x: (number) x vector optional
y: (number) y vector optional
a: (number) angular velocity optional
s: (number) growth speed optional