Difference between revisions of "B2.Body:getLinearVelocity"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
Line 6: Line 6:
 
=== Description ===
 
=== Description ===
 
Returns the linear velocity of the center of mass.
 
Returns the linear velocity of the center of mass.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number), (number) = b2.Body:getLinearVelocity()
 
(number), (number) = b2.Body:getLinearVelocity()
 
</source>
 
</source>

Revision as of 17:33, 12 July 2023