I'm trying to make a nice graphical gimmick for my game, but for it to work I need to find a way to get the distance from the center of a hexagon to it's edge, based on the angle.
For example, if I'd draw a line from the center to the edge at an angle of 5 degrees, how long would that line be? And what would it be when I draw a line at 45 degrees? How would one calculate that number based on the angle and radius of the hexagon?
