Difference between revisions of "B2.Body:getWorldVector"

From GiderosMobile
(removed language stuff)
m (Text replacement - "<source" to "<syntaxhighlight")
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
 
Returns the world coordinates of a vector given the local coordinates.
 
Returns the world coordinates of a vector given the local coordinates.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number), (number) = b2.Body:getWorldVector(x,y)
 
(number), (number) = b2.Body:getWorldVector(x,y)
</source>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===

Latest revision as of 18:21, 12 July 2023