Difference between revisions of "Body:getMass"

m (included link to other languages)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
Get the mass of the body.
 
Get the mass of the body.
 +
 +
Static bodies always have a mass of 0.
  
 
== Function ==
 
== Function ==
Line 15: Line 17:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Get the mass of the body.}}
 
{{#set:Description=Get the mass of the body.}}
 +
{{#set:Since=000}}
  
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|Body:getMass}}
 
{{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