def distance(objects):
    """Returns the distance between two Blender objects.

    Args:
      objects(list(bpy.types.Object): exactly two Blender objects

    Returns:
      : tuple(float, mathutils.Vector) -- distance and distance vector between the Blender objects

    """
    vector = objects[0].matrix_world.to_translation() - objects[1].matrix_world.to_translation()
    return vector.length, vector