Difference between revisions of "B2.Body:getMass"

 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
<languages />
 
'''Available since:''' Gideros 2012.2.2<br/>
 
'''Available since:''' Gideros 2012.2.2<br/>
 +
'''Class:''' [[Special:MyLanguage/b2.Body|b2.Body]]<br/>
 +
 
=== Description ===
 
=== Description ===
<br />
+
Returns the total mass of the body in kilograms (kg).
Returns the total mass of the body in kilograms (kg).<br />
 
<br />
 
 
<source lang="lua">
 
<source lang="lua">
 
(number) = b2.Body:getMass()
 
(number) = b2.Body:getMass()
 
</source>
 
</source>
 +
 
=== Return values ===
 
=== Return values ===
'''Returns''' (number) The total mass of the body in kilograms (kg)<br/>
+
'''Returns''' (number) the total mass of the body in kilograms (kg)<br/>
 +
 
 +
{{B2.Body}}

Latest revision as of 06:08, 17 February 2020