Difference between revisions of "B2.Body:getLocalCenter"

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 position of the center of mass.
 
Returns the local position of the center of mass.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number), (number) = b2.Body:getLocalCenter()
 
(number), (number) = b2.Body:getLocalCenter()
</source>
+
</syntaxhighlight>
  
 
=== Return values ===
 
=== Return values ===

Latest revision as of 17:16, 12 July 2023