SetEntityAngle
From OxeyeWiki
| 
 physics:setEntityAngle(entityId, angle)  | ||
| 
 Forces the entity's body angle to be set to a certain value. Works even if the body's definition has set fixedRotation.  | ||
| Parameter | Expected Type | Description | 
| entityId | An integer | The body id number of the entity. | 
| angle | A number | The new body angle, in radians. | 
| Returns | ||
| 
 Returns nothing.  | ||
Example
local o = createObstacle(-4, 2.5, 2, 3, .3) myPhysics:setEntityAngle(o.body, math.pi * .3)