so, i'm simply going to say that xo is there, that's actually not bad, it's not a bad idea at all and then this is supposed to be straight line. you avoid obstacle would simply take me in this direction, just straight away from the closest point.