Get the center of mass position in local coordinates.

Use [[Body:getWorldCenter]] to get the center of mass in world coordinates.

== Function ==
=== Synopsis ===
<source lang="lua">
x, y = Body:getLocalCenter( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|number|x|The x coordinate of the center of mass.}}
{{param|number|y|The y coordinate of the center of mass.}}

== See Also ==
* [[parent::Body]]
[[Category:Functions]]
{{#set:Description=Get the center of mass position in local coordinates.}}
{{#set:Since=000}}
== Other Languages ==
{{i18n|Body:getLocalCenter}}