B2.Body:setAwake: Difference between revisions

From GiderosMobile
m Text replacement - "</source" to "</syntaxhighlight"
m Text replacement - "<source" to "<syntaxhighlight"
Line 6: Line 6:
=== Description ===
=== Description ===
Sets the sleep state of the body. A sleeping body has very low CPU cost.
Sets the sleep state of the body. A sleeping body has very low CPU cost.
<source lang="lua">
<syntaxhighlight lang="lua">
b2.Body:setAwake(awake)
b2.Body:setAwake(awake)
</syntaxhighlight>
</syntaxhighlight>

Revision as of 15:58, 12 July 2023