Difference between revisions of "Body:setInertia"
(4th argument to Body:setMass seems to no longer exist) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Set the inertia of a body. | Set the inertia of a body. | ||
− | |||
− | |||
== Function == | == Function == | ||
Line 9: | Line 7: | ||
</source> | </source> | ||
=== Arguments === | === Arguments === | ||
− | {{param|number|inertia|The new moment of inertia, in kilograms | + | {{param|number|inertia|The new moment of inertia, in kilograms * pixel squared.}} |
=== Returns === | === Returns === | ||
Nothing. | Nothing. |
Latest revision as of 13:33, 19 August 2017
Set the inertia of a body.
Function
Synopsis
Body:setInertia( inertia )
Arguments
number inertia
- The new moment of inertia, in kilograms * pixel squared.
Returns
Nothing.
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