B2.Body:getAngle: Difference between revisions

From GiderosMobile
m Text replacement - "</source" to "</syntaxhighlight"
m Text replacement - "<source" to "<syntaxhighlight"
 
Line 5: Line 5:
=== Description ===
=== Description ===
Returns the current world rotation angle in radians.
Returns the current world rotation angle in radians.
<source lang="lua">
<syntaxhighlight lang="lua">
(number) = b2.Body:getAngle()
(number) = b2.Body:getAngle()
</syntaxhighlight>
</syntaxhighlight>

Latest revision as of 16:19, 12 July 2023