Difference between revisions of "Particles:setParticleSpeed"

From GiderosMobile
Line 6: Line 6:
 
  Particles:setParticleSpeed(i,x,y,a,s)
 
  Particles:setParticleSpeed(i,x,y,a,s)
 
</source>
 
</source>
'''i''': (number) particle index ''''''<br/>
+
=== Parameters ===
 +
'''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:43, 23 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