Function
Body:getPosition( )
Gets the position of the Body in world coordinates. Note that the position not necessarily is the same as the Body's center of mass.
Synopsis
x, y = Body:getPosition( )
Arguments
(None)
Returns
number The x-component of the position.
number The y-component of the position.
Copyright © 2006-2008 LÖVE Development Team.