19.4.3
angle
angle = physics.Body:angle()
Parameter |
Type |
Description |
---|---|---|
self |
in physics.Body |
The input Body |
angle |
out number |
The angle of the Body in radians |
Returns the angle in radians of the orientation of the body.
Introduced in platform.apiLevel = '2.0'