I already solved the task. I get how and why we calculate the distance between two points - but I don't understand one given part of the code: why we check if the distance is less than the bigger radius of the two objects? Shouldn't we check if the distance is less than the both radiuses added together? Otherwise we would just know if one object collides with the centerpoint of the other, right?
distance_between_objects <= max(radius_of_the_first_object, radius_of_the_second_object)
I appreciate your help.