B2.Body:getLocalPoint: 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 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 15:58, 12 July 2023