Function
Body:getAngle( )
Get the angle of the body.

The angle is measured in radians. If you need to transform it to degrees, use math.deg.

A value of 0 radians will mean "looking to the right". Although radians increase counter-clockwise, the y axis points down so it becomes clockwise from our point of view.

Synopsis
angle = Body:getAngle( )
Returns
angle number The angle in radians.
See Also
Body:setAngle  
Copyright © 2006-2010 LÖVE Development Team.