I have a point $A:\left(x_{A}, y_{A}, z_{A}\right)$ and a line $\vec{G}:\vec{g}+t\vec{u}$. I want to find the point on $\vec{G}$ that is a distance R away from $A$.
I know that $A$ is not on $\vec G$, and I do not want $A$ to be perpendicular to $\vec G$.
Thanks.
There are two points. You have solve the quadratic equation $$\lVert\vec g+t\vec u -A\rVert^2=R^2.$$