B2.Body:setAngle: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
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 09: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