Difference between revisions of "B2.Body:getAngle"

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 18:19, 12 July 2023