I am not getting the rotations I set in code. For example, setting startRotation to 23.5898 in code results in it getting set to 1351.596 in game and in the inspector. I don’t see any multiple of pi so I’m not sure what kind of conversion is happening.
They’re radians (degrees = 180 / pi * radians).
No, I don’t know why half of Unity uses degrees and the other half uses radians.
360 degree equals 2pi
so whateve degree you want to set(lets say x)
its radian is (x/180) radians.
… wat?
360 degrees is 2*pi radians
And I already gave the formula except mine actually works.