{{newin|[[0.8.0]]|080|type=method}}
Returns the mass, its center and the rotational inertia.

== Function ==
=== Synopsis ===
<source lang="lua">
x, y, mass, inertia = Fixture:getMassData( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|number|x|The x position of the center of mass.}}
{{param|number|y|The y position of the center of mass.}}
{{param|number|mass|The mass of the fixture.}}
{{param|number|inertia|The rotational inertia.}}
== See Also ==
* [[parent::Fixture]]
[[Category:Functions]]
{{#set:Description=Returns the mass, its center and the rotational inertia.}}
{{#set:Since=080}}
== Other Languages ==
{{i18n|Fixture:getMassData}}