Difference between revisions of "B2.Body:setGravityScale"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2012.2.2.1<br/>
 
'''Available since:''' Gideros 2012.2.2.1<br/>
 
=== Description ===
 
=== Description ===
<br />
+
<translate><br />
 
Sets the gravity scale of the body. <br />
 
Sets the gravity scale of the body. <br />
<br />
+
<br /></translate>
 
<source lang="lua">
 
<source lang="lua">
 
  b2.Body:setGravityScale(scale)
 
  b2.Body:setGravityScale(scale)
 
</source>
 
</source>
 
=== Parameters ===
 
=== Parameters ===
'''scale''': (number) new gravity scale of the body <br/>
+
'''scale''': (number) <translate>new gravity scale of the body</translate> <br/>

Revision as of 13:48, 23 August 2018

Available since: Gideros 2012.2.2.1

Description


Sets the gravity scale of the body.

 b2.Body:setGravityScale(scale)

Parameters

scale: (number) new gravity scale of the body