I am trying to create an avoidance system where circle A has to avoid circle B with as minimum angle as possible. My approach is to create an imaginary circle C of radius Ra + Rb from the center of circle B and the draw a tangent from center of circle A to circle C. With those 2 tangents, I can get the minimum angle required to avoid the circle. I will add the minimum angle to current angle if circle A to avoid the Circle B. Is it the right approach or I am missing something here?