Difference between revisions of "B2.Body:getAngle"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 
=== Description ===
 
=== Description ===
<br />
+
<translate><br />
 
Returns the current world rotation angle in radians.<br />
 
Returns the current world rotation angle in radians.<br />
<br />
+
<br /></translate>
 
<source lang="lua">
 
<source lang="lua">
 
(number) = b2.Body:getAngle()
 
(number) = b2.Body:getAngle()
 
</source>
 
</source>
 
=== Return values ===
 
=== Return values ===
'''Returns''' (number) Current body angle in radians<br/>
+
'''Returns''' (number) <translate>Current body angle in radians</translate><br/>

Revision as of 13:32, 23 August 2018

Available since: Gideros 2011.6

Description


Returns the current world rotation angle in radians.

(number) = b2.Body:getAngle()

Return values

Returns (number) Current body angle in radians