Change the pivot of an actor and make it custom size programmatically

you can acttually place your poly at the midpoint of the desired targets, then orient the poly with lookAt (from point a to B) and finally scale its X using distance from A to B.

midpoint = (pos1 + pos2)/2
distance = vector lenght of pos1-pos2