Difference between revisions of "Body:getWorldPoint"

m (1 revision: Importing from potato (again).)
(No difference)

Revision as of 16:18, 14 February 2010

Transform a point from local coordinates to world coordinates.

Function

Synopsis

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

Arguments

number local_x
The x position in local coordinates.
number local_y
The y position in local coordinates.

Returns

number world_x
The x position in world coordinates.
number world_y
The y position in world coordinates.

See Also