Difference between revisions of "Body:setInertia"

(add new func)
 
m (included link to other languages)
Line 12: Line 12:
 
=== Returns ===
 
=== Returns ===
 
Nothing.
 
Nothing.
 +
 
== See Also ==
 
== See Also ==
 
* [[parent::Body]]
 
* [[parent::Body]]
Line 17: Line 18:
 
{{#set:Description=Set the inertia of a body.
 
{{#set:Description=Set the inertia of a body.
 
}}
 
}}
 +
 +
== Other Languages ==
 +
{{i18n|Body:setInertia}}

Revision as of 08:57, 30 January 2011

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 meter squared.

Returns

Nothing.

See Also


Other Languages