To get straight to the point, what I hope to achieve is to be able to create a connecting line between two elements with this shape:
When the elements move, the line resets but always maintains a 90 degree angle, instead of being a straight or diagonal line between [x,y] to [x,y].
Is there some kind of algorithm for this? Maybe a grid with some kind of A* implementation?