Difference between revisions of "B2.Body:getAngle"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Returns the current world rotation angle in radians.<br /> <br /> <source lang="lua"> (number),...") |
|||
Line 6: | Line 6: | ||
<br /> | <br /> | ||
<source lang="lua"> | <source lang="lua"> | ||
− | (number) | + | (number) = b2.Body:getAngle() |
</source> | </source> | ||
'''Returns''' (number) Current body angle in radians<br/> | '''Returns''' (number) Current body angle in radians<br/> |
Revision as of 10:16, 23 August 2018
Available since: Gideros 2011.6
Description
Returns the current world rotation angle in radians.
(number) = b2.Body:getAngle()
Returns (number) Current body angle in radians