B2.Body:getWorldPoint: Difference between revisions

From GiderosMobile
No edit summary
m Text replacement - "<source" to "<syntaxhighlight"
Line 6: Line 6:
=== Description ===
=== Description ===
Returns the world coordinates of a point given the local coordinates.
Returns the world coordinates of a point given the local coordinates.
<source lang="lua">
<syntaxhighlight lang="lua">
(number), (number) = b2.Body:getWorldPoint(x,y)
(number), (number) = b2.Body:getWorldPoint(x,y)
</source>
</source>

Revision as of 15:51, 12 July 2023