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. | ||
− | |||
== 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
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info