Difference between revisions of "B2.Body:getAngle"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2011.6<br/>
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
+
'''Class:''' [[b2.Body]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/b2.Body|b2.Body]]<br/>
+
 
=== <translate>Description</translate> ===
+
=== Description ===
<translate><br />
+
Returns the current world rotation angle in radians.
Returns the current world rotation angle in radians.<br />
+
<syntaxhighlight lang="lua">
<br /></translate>
 
<source lang="lua">
 
 
(number) = b2.Body:getAngle()
 
(number) = b2.Body:getAngle()
</source>
+
</syntaxhighlight>
=== <translate>Return values</translate> ===
+
 
'''<translate>Returns</translate>''' (number) <translate>Current body angle in radians</translate><br/>
+
=== Return values ===
 +
'''Returns''' (number) current body angle in radians<br/>
 +
 
 +
{{B2.Body}}

Latest revision as of 17:19, 12 July 2023