Updates proximity to object.