Face color from distance to object, regardless of origin? I'm using the node setup from this answer:

Particle color distance to empty in Eeevee?

Is there a way of having this to work without needing the origins of the affected object to be at the center of the world?
Yes. This made me realize the setup from my answer is not optimal. You want to simply get the length of the vector from your empty to the pixel on your mesh :