Difference between revisions of "Particles:getParticleSpeed"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2016.06<br/> === Description === Get speed of particle <source lang="lua"> (number) (number) (number) (number), = Particles:getParticl...")
 
Line 4: Line 4:
 
Get speed of particle
 
Get speed of particle
 
<source lang="lua">
 
<source lang="lua">
(number) (number) (number) (number), = Particles:getParticleSpeed(i,)
+
(number), (number), (number), (number) = Particles:getParticleSpeed(i)
 
</source>
 
</source>
'''i:''' (number) particle index ''''''<br/>
+
'''i''': (number) particle index ''''''<br/>
 
'''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:17, 23 August 2018

Available since: Gideros 2016.06

Description

Get speed of particle

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

'i: (number) particle index '
Returns (number) x vector
Returns (number) y vector
Returns (number) angular velocity
Returns (number) growth speed