Difference between revisions of "B2.Body:setGravityScale"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
<languages />
 
<languages />
'''<translate>Available since</translate>:''' Gideros 2012.2.2.1<br/>
+
'''Available since:''' Gideros 2012.2.2.1<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/b2.Body|b2.Body]]<br/>
+
'''Class:''' [[Special:MyLanguage/b2.Body|b2.Body]]<br/>
=== <translate>Description</translate> ===
+
 
<translate><br />
+
=== Description ===
Sets the gravity scale of the body. <br />
+
Sets the gravity scale of the body.
<br /></translate>
 
 
<source lang="lua">
 
<source lang="lua">
b2.Body:setGravityScale(scale)
+
b2.Body:setGravityScale(scale)
 
</source>
 
</source>
=== <translate>Parameters</translate> ===
+
 
'''scale''': (number) <translate>new gravity scale of the body</translate> <br/>
+
=== Parameters ===
 +
'''scale''': (number) new gravity scale of the body <br/>
 +
 
 +
{{B2.Body}}

Revision as of 06:49, 17 February 2020