Documentation
Introduction
Getting Started
Game Distribution
Config Files
License
Documentation Guide
Modules
love
love.audio
love.event
love.filesystem
love.graphics
love.image
love.joystick
love.keyboard
love.mouse
love.physics
love.sound
love.timer
Callbacks
love.joystickreleased
love.joystickpressed
love.load
love.update
love.draw
love.keypressed
love.keyreleased
love.mousepressed
love.mousereleased
love.run
Edit
Function
Body:getWorldPoint( local_x, local_y )
Transform a point from local coordinates to world coordinates.
Synopsis
world_x, world_y = Body:getWorldPoint( local_x, local_y )
Parameters
local_x
number
The x position in local coordinates.
local_y
number
The y position in local coordinates.
Returns
world_x
number
The x position in world coordinates.
world_y
number
The y position in world coordinates.
See Also
Body:getLocalPoint
Copyright © 2006-2010 LÖVE Development Team.
Visit Homepage
–
Ask a Question