Difference between revisions of "B2.Body:setAngle"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Sets the current world rotation angle in radians.<br /> <br /> <source lang="lua"> = b2.Body:se...")
 
Line 6: Line 6:
 
<br />
 
<br />
 
<source lang="lua">
 
<source lang="lua">
= b2.Body:setAngle(angle,)
+
b2.Body:setAngle(angle)
 
</source>
 
</source>
'''angle:''' (number) world rotation angle in radians ''''''<br/>
+
'''angle''': (number) world rotation angle in radians ''''''<br/>

Revision as of 11:20, 23 August 2018

Available since: Gideros 2011.6

Description


Sets the current world rotation angle in radians.

 b2.Body:setAngle(angle)

'angle: (number) world rotation angle in radians '