Function
Body:getLocalCenter( )
Get the center of mass position in local coordinates.

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

Synopsis
x, y = Body:getLocalCenter( )
Returns
x number The x coordinate of the center of mass.
y number The y coordinate of the center of mass.
See Also
Body:getWorldCenter  
Copyright © 2006-2010 LÖVE Development Team.