"At any given point in time, once the black object touches the circle obstacle, the object can only move in the opposite direction of the vector."
Below is a diagram that depicts what I intended (expected myself) to do, and what I wanted to ask for.

If there's a solution to the above, would it be also possible to extend the solution, so that the black object's movement can be limited by a given boundary? (meaning that the object can only move towards somewhere that is inside the purple boundary, shown in the diagram above.)
The boundary part is my ultimate question. Thanks in advance.