Difference between revisions of "Body:setInertia"

m (included link to other languages)
Line 16: Line 16:
 
* [[parent::Body]]
 
* [[parent::Body]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Set the inertia of a body.
+
{{#set:Description=Set the inertia of a body.}}
}}
+
{{#set:Since=000}}
  
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|Body:setInertia}}
 
{{i18n|Body:setInertia}}

Revision as of 10:44, 25 March 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