Difference between revisions of "Particles:getParticleSpeed"

From GiderosMobile
Line 6: Line 6:
 
(number), (number), (number), (number) = Particles:getParticleSpeed(i)
 
(number), (number), (number), (number) = Particles:getParticleSpeed(i)
 
</source>
 
</source>
'''i''': (number) particle index ''''''<br/>
+
=== Parameters ===
 +
'''i''': (number) particle index <br/>
 +
=== Return values ===
 
'''Returns''' (number) x vector<br/>
 
'''Returns''' (number) x vector<br/>
 
'''Returns''' (number) y vector<br/>
 
'''Returns''' (number) y vector<br/>
 
'''Returns''' (number) angular velocity<br/>
 
'''Returns''' (number) angular velocity<br/>
 
'''Returns''' (number) growth speed<br/>
 
'''Returns''' (number) growth speed<br/>

Revision as of 10:44, 23 August 2018

Available since: Gideros 2016.06

Description

Get speed of particle

(number), (number), (number), (number) = Particles:getParticleSpeed(i)

Parameters

i: (number) particle index

Return values

Returns (number) x vector
Returns (number) y vector
Returns (number) angular velocity
Returns (number) growth speed