Difference between revisions of "B2.Body:setGravityScale"

From GiderosMobile
m (Text replacement - "</source" to "</syntaxhighlight")
Line 8: Line 8:
 
<source lang="lua">
 
<source lang="lua">
 
b2.Body:setGravityScale(scale)
 
b2.Body:setGravityScale(scale)
</source>
+
</syntaxhighlight>
  
 
'''Note''': increased gravity can decrease stability
 
'''Note''': increased gravity can decrease stability

Revision as of 17:36, 12 July 2023