Difference between revisions of "Body:getMass"

m (1 revision: Imported docs from potato.)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
Get the mass of the body.
  
 +
Static bodies always have a mass of 0.
  
 
== Function ==
 
== Function ==
Line 10: Line 12:
 
=== Returns ===
 
=== Returns ===
 
{{param|number|mass|The mass of the body (in kilograms).}}
 
{{param|number|mass|The mass of the body (in kilograms).}}
 +
 
== See Also ==
 
== See Also ==
 
* [[parent::Body]]
 
* [[parent::Body]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Get the mass of the body.}}
 +
{{#set:Since=000}}
 +
 
 +
== Other Languages ==
 +
{{i18n|Body:getMass}}

Latest revision as of 21:48, 18 May 2015

Get the mass of the body.

Static bodies always have a mass of 0.

Function

Synopsis

mass = Body:getMass( )

Arguments

None.

Returns

number mass
The mass of the body (in kilograms).

See Also


Other Languages