I would recommend applying the position tracking data of one point to Null A and the position tracking data of the other point to Null B. Then try a Generate > Beam effect between the Null A & Null B. You will need to use an expression to link the start and end points to Null A and Null B’s positions, I recommend this one:
l = thisComp.layer("Null A");
fromWorld(l.toWorld(l.anchorPoint);
You will also need to have an expression to rotate the Nulls properly based on their positions, this should work applied to their rotation properties:
nullA = thisComp.layer("Null A");
nullB = thisComp.layer("Null B");
p1 = fromWorld(nullA.toWorld(nullA.anchorPoint));
p2 = fromWorld(nullB.toWorld(nullB.anchorPoint));
v = p1 - p2;
radiansToDegrees(Math.atan2(v[1], v[0]));
Then create two arrowheads (Arrow A and Arrow B). Parent Arrow A to Null A and Arrow B to Null B, move them into position and rotate them properly relative to the Nulls and you should be good to go.
Darby Edelen
Designer
Left Coast Digital
Santa Cruz, CA