Body:getLocalPoint
Transform a point from world coordinates to local coordinates.
Function
Synopsis
localX, localY = Body:getLocalPoint( worldX, worldY )
Arguments
number worldX
- The x position in world coordinates.
number worldY
- The y position in world coordinates.
Returns
number localX
- The x position in local coordinates.
number localY
- The y position in local coordinates.
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info