Difference between revisions of "Body:getMass"

m (1 revision: Importing from potato (again).)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
Get the mass of the body.
 +
 +
Static bodies always have a mass of 0.
  
Get the mass of the body.
 
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
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=Get the mass of the body.}}
 
{{#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