Difference between revisions of "B2.Body:getAngle"

From GiderosMobile
Line 8: Line 8:
 
(number) = b2.Body:getAngle()
 
(number) = b2.Body:getAngle()
 
</source>
 
</source>
 +
=== Return values ===
 
'''Returns''' (number) Current body angle in radians<br/>
 
'''Returns''' (number) Current body angle in radians<br/>

Revision as of 10:38, 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