Capillary-induced contact guidance