Difference between revisions of "B2.Body:setGravityScale"

From GiderosMobile
m (Text replacement - "</source" to "</syntaxhighlight")
m (Text replacement - "<source" to "<syntaxhighlight")
 
Line 6: Line 6:
 
=== Description ===
 
=== Description ===
 
Strengthens or weakens the effect of the world gravity on a body.
 
Strengthens or weakens the effect of the world gravity on a body.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
b2.Body:setGravityScale(scale)
 
b2.Body:setGravityScale(scale)
 
</syntaxhighlight>
 
</syntaxhighlight>

Latest revision as of 16:59, 12 July 2023