Body:getWorldCenter
Get the center of mass position in world coordinates.

Use Body:getLocalCenter to get the center of mass in local coordinates.
x, y = Body:getWorldCenter()
x number The x coordinate of the center of mass.
y number The y coordinate of the center of mass.