Difference between revisions of "Body:getLocalVector"

 
m (1 revision: Imported docs from potato.)
(No difference)

Revision as of 16:54, 14 February 2010


Function

Synopsis

local_x, local_y = Body:getLocalVector( world_x, world_y )

Arguments

number world_x
The vector x component in world coordinates.
number world_y
The vector y component in world coordinates.

Returns

number local_x
The vector x component in local coordinates.
number local_y
The vector y component in local coordinates.

See Also