B2.Body:getWorldPoint: Difference between revisions

From GiderosMobile
No edit summary
m Text replacement - "</source" to "</syntaxhighlight"
 
(One intermediate revision by the same user not shown)
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>
</syntaxhighlight>


=== Parameters ===
=== Parameters ===

Latest revision as of 16:12, 12 July 2023