Difference between revisions of "B2.Body:setGravityScale"

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

Revision as of 10:19, 23 August 2018

Available since: Gideros 2012.2.2.1

Description


Sets the gravity scale of the body.

 b2.Body:setGravityScale(scale)

'scale: (number) new gravity scale of the body '