Difference between revisions of "B2.Body:getLocalPoint"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
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>
 
</source>

Revision as of 16:33, 12 July 2023