Roblox has built in math functions to do the conversion for you, with math. rad( d ) and math. deg( r ). 1 radian will take you 1 radius around the circumference of the circle, hence π radians is half a circumference and 2π radians is the same as π×Diameter which is the full circle circumference.
number math.rad ( number x ) Returns the angle x (given in degrees) in radians. number math.random ( number m = 0.0, number n = 1.0 )
Coordinate FrameA CFrame , short for Coordinate Frame, is a data type used to rotate and position 3D objects. As either an object property or a standalone unit, a CFrame contains global X, Y, and Z coordinates as well as rotation data for each axis.
The circumference of a circle is 2 times π times r which means that there are approximately 6.28 Radians in a full circle. It is from this relationship that we say 2*π*r = 360 Degrees or that 1 Radian = 180/π Degrees and 1 Degree = π/180 Radians.