Difference between revisions of "B2.Body:setAngle"

From GiderosMobile
Line 8: Line 8:
 
  b2.Body:setAngle(angle)
 
  b2.Body:setAngle(angle)
 
</source>
 
</source>
'''angle''': (number) world rotation angle in radians ''''''<br/>
+
=== Parameters ===
 +
'''angle''': (number) world rotation angle in radians <br/>

Revision as of 11:45, 23 August 2018

Available since: Gideros 2011.6

Description


Sets the current world rotation angle in radians.

 b2.Body:setAngle(angle)

Parameters

angle: (number) world rotation angle in radians