Difference between revisions of "B2.Body:getWorldPoint"

From GiderosMobile
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 17:12, 12 July 2023