Computers have a lot more affinity to radians
1 radian = 57.2958 degrees
6.2832 radians = 360 degrees
π = 3.1416
2π = 6.2832 radians = 360 degrees
360° = 2π
180° = π
90° = π/2
Rotation property of a sprite / movie clip is measured in degrees
Radians for angle
Degrees for rotation
Formula
radians = degrees*Math.PI/180
degrees = radians*180/Math.PI
No comments:
Post a Comment