If one ACFT is heading/tracking to a specific beacon or waypoint, and another is climbing or decending through his level for instance, then it would be better to use a track for the other ACFT, in my opinion.
In my opinion it would be better to have both aircraft on headings. Leaving one aircraft direct to a fix whilst maintaining seperation for a climb-through on another aircraft by using a heading is asking for trouble.