Difference between revisions of "Body:getWorldPoint"
m (included link to other languages) |
|||
Line 17: | Line 17: | ||
[[Category:Functions]] | [[Category:Functions]] | ||
{{#set:Description=Transform a point from local coordinates to world coordinates.}} | {{#set:Description=Transform a point from local coordinates to world coordinates.}} | ||
+ | {{#set:Since=000}} | ||
== Other Languages == | == Other Languages == | ||
{{i18n|Body:getWorldPoint}} | {{i18n|Body:getWorldPoint}} |
Revision as of 10:41, 25 March 2011
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
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