Body:getWorldVector
Transform a vector from local coordinates to world coordinates.
Function
Synopsis
world_x, world_y = Body:getWorldVector( local_x, local_y )
Arguments
number local_x
- The vector x component in local coordinates.
number local_y
- The vector y component in local coordinates.
Returns
number world_x
- The vector x component in world coordinates.
number world_y
- The vector y component 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