Difference between revisions of "B2.Body:getGravityScale"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2012.2.2.1<br/> === Description === <br /> Returns the gravity scale of the body. <br /> <br /> <source lang="lua"> (number), = b2.Bod...")
 
Line 6: Line 6:
 
<br />
 
<br />
 
<source lang="lua">
 
<source lang="lua">
(number), = b2.Body:getGravityScale()
+
(number) = b2.Body:getGravityScale()
 
</source>
 
</source>
 
'''Returns''' (number) The gravity scale of the body<br/>
 
'''Returns''' (number) The gravity scale of the body<br/>

Revision as of 10:20, 23 August 2018

Available since: Gideros 2012.2.2.1

Description


Returns the gravity scale of the body.

(number) = b2.Body:getGravityScale()

Returns (number) The gravity scale of the body