This tool can both calculate ter centroid to centroid or the cloasest point see https://docs.qgis.org/testing/en/docs/user_manual/processing_algs/qgis/vectoranalysis.html#qgisshortestline
Since 3.28
This tool can both calculate ter centroid to centroid or the cloasest point see https://docs.qgis.org/testing/en/docs/user_manual/processing_algs/qgis/vectoranalysis.html#qgisshortestline
Since 3.28