Dynamic spring arm parented to render target

I am trying to make a mini map for a shooter and I am trying to make the spring arm length change based off of the distance between the render target X,Y and a set Z. I am calculating the distance with a linetrace

273322-minimap1.png

It doesn’t work as intended as the minimap isn’t smooth and it seems to be clipping in to some meshes