Function
Body:getLocalVector( world_x, world_y )
Transform a vector from world coordinates to local coordinates.
Synopsis
local_x, local_y = Body:getLocalVector( world_x, world_y )
Parameters
world_x number The vector x component in world coordinates.
world_y number The vector y component in world coordinates.
Returns
local_x number The vector x component in local coordinates.
local_y number The vector y component in local coordinates.
See Also
Body:getWorldVector  
Copyright © 2006-2010 LÖVE Development Team.