B2.Body:setAngle: Difference between revisions
From GiderosMobile
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
'''Available since:''' Gideros 2011.6<br/> | '''Available since:''' Gideros 2011.6<br/> | ||
=== Description === | === Description === | ||
<br /> | <translate><br /> | ||
Sets the current world rotation angle in radians.<br /> | Sets the current world rotation angle in radians.<br /> | ||
<br /> | <br /></translate> | ||
<source lang="lua"> | <source lang="lua"> | ||
b2.Body:setAngle(angle) | b2.Body:setAngle(angle) | ||
</source> | </source> | ||
=== Parameters === | === Parameters === | ||
'''angle''': (number) world rotation angle in radians <br/> | '''angle''': (number) <translate>world rotation angle in radians</translate> <br/> | ||
Revision as of 12:48, 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