Shortest distance between meshes

If these StaticMeshActors have complex collision you could use sphere traces.

Sphere trace from object A toward object B and save the first overlap location.
Sphere trace from object B toward object A and save the first overlap location.

Closest distance between the objects is VectorLength of Overlap1 - Overlap2.