Body:getLocalCenter


Function

Synopsis

x, y = Body:getLocalCenter( )

Arguments

None.

Returns

number x
The x coordinate of the center of mass.
number y
The y coordinate of the center of mass.

See Also