Difference between revisions of "B2.Body:getMass"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
 
=== Description ===
 
=== Description ===
 
Returns the total mass of the body in kilograms (kg).
 
Returns the total mass of the body in kilograms (kg).
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number) = b2.Body:getMass()
 
(number) = b2.Body:getMass()
</source>
+
</syntaxhighlight>
  
 
=== Return values ===
 
=== Return values ===

Latest revision as of 17:56, 12 July 2023