Difference between revisions of "Body:getMass"

 
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 ==

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