How can I obtain a unit vector of a shifted spherical system?

65 Views Asked by At

I hope that I can explain myself clear enough, Assuming i have a sphere that has been moved down in the Z-axis. I know that the radial unit vector when the sphere is not shifted can be expressed as: $$\hat{r} = \sin\theta\cos\phi \,\hat{x} + \sin\theta\sin\phi \,\hat{y} + \cos\theta\,\hat{z}$$ where $\hat{x}$, $\hat{y}$, and $\hat{z}$ are the Cartesian unit vectors. But how can I obtain $\hat{r}$ over the surface of the sphere in a situation when the sphere has been shifted? like in the picture I added?enter image description here