Difference between revisions of "B2.Body:setLinearVelocity"

From GiderosMobile
(language)
m (Text replacement - "<source" to "<syntaxhighlight")
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
 
Sets the linear velocity of the center of mass.
 
Sets the linear velocity of the center of mass.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
b2.Body:setLinearVelocity(x,y)
 
b2.Body:setLinearVelocity(x,y)
</source>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===

Latest revision as of 17:55, 12 July 2023