Difference between revisions of "Body:setInertia"
m |
|||
Line 9: | Line 9: | ||
</source> | </source> | ||
=== Arguments === | === Arguments === | ||
− | {{param|number|inertia|The new moment of inertia, in kilograms per | + | {{param|number|inertia|The new moment of inertia, in kilograms per pixel squared.}} |
=== Returns === | === Returns === | ||
Nothing. | Nothing. |
Revision as of 23:46, 11 March 2015
Set the inertia of a body.
This value can also be set by the fourth argument of Body:setMass.
Function
Synopsis
Body:setInertia( inertia )
Arguments
number inertia
- The new moment of inertia, in kilograms per 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