Difference between revisions of "B2.Body:getMass"
From GiderosMobile
Line 2: | Line 2: | ||
'''Available since:''' Gideros 2012.2.2<br/> | '''Available since:''' Gideros 2012.2.2<br/> | ||
=== Description === | === Description === | ||
− | <br /> | + | <translate><br /> |
Returns the total mass of the body in kilograms (kg).<br /> | Returns the total mass of the body in kilograms (kg).<br /> | ||
− | <br /> | + | <br /></translate> |
<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) <translate>The total mass of the body in kilograms (kg)</translate><br/> |
Revision as of 13:32, 23 August 2018
Available since: Gideros 2012.2.2
Description
Returns the total mass of the body in kilograms (kg).
(number) = b2.Body:getMass()
Return values
Returns (number) The total mass of the body in kilograms (kg)