Difference between revisions of "B2.Body:setLinearVelocity"

From GiderosMobile
m (Text replacement - "</source" to "</syntaxhighlight")
m (Text replacement - "<source" to "<syntaxhighlight")
 
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)
 
</syntaxhighlight>
 
</syntaxhighlight>

Latest revision as of 16:55, 12 July 2023