B2.Body:setGravityScale: Difference between revisions

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>

Revision as of 15:59, 12 July 2023