Difference between revisions of "Body:getInertia"

m (1 revision: Importing from potato (again).)
m (See Also: Add some related functions)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
 
Gets the rotational inertia of the body.
 
Gets the rotational inertia of the body.
  
The rotational inertia is how hard is it to make the body spin. It is set with the 4th argument to [[Body:setMass]], or automatically with [[Body:setMassFromShapes]].
+
The rotational inertia is how hard is it to make the body spin.
  
 
== Function ==
 
== Function ==
Line 15: 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}}
 +
 
 +
== Other Languages ==
 +
{{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