Difference between revisions of "B2.Body:getLocalPoint"

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 local coordinates of a point given the world coordinates.
 
Returns the local coordinates of a point given the world coordinates.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number), (number) = b2.Body:getLocalPoint(x,y)
 
(number), (number) = b2.Body:getLocalPoint(x,y)
</source>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===

Latest revision as of 17:58, 12 July 2023