Ah yes, I overlooked that distance might be different in world space due to some transformations other than translate and rotate.