Schematization of the dynamical encounter driving the formation of an NS–BH binary in a dense stellar environment. We assume that either a roaming NS scatters over a BH-star (ST) binary (left panel, configuration BHSTNS) or vice versa (right panel, NSSTBH).