Difference between revisions of "Body:getInertia"

(Body:setMassFromShapes and 4th argument to Body:setMass seem to no longer exist)
m (See Also: Add some related functions)
 
Line 14: Line 14:
 
== See Also ==
 
== See Also ==
 
* [[parent::Body]]
 
* [[parent::Body]]
 +
* [[Body:setInertia]]
 +
* [[Body:getMassData]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Gets the rotational inertia of the body.}}
 
{{#set:Description=Gets the rotational inertia of the body.}}
 
{{#set:Since=000}}
 
{{#set:Since=000}}
 +
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|Body:getInertia}}
 
{{i18n|Body:getInertia}}

Latest revision as of 19:30, 25 November 2019

Gets the rotational inertia of the body.

The rotational inertia is how hard is it to make the body spin.

Function

Synopsis

inertia = Body:getInertia( )

Arguments

None.

Returns

number inertia
The rotational inertial of the body.

See Also


Other Languages