I was able to create lines between these two sets of points. However, I need each point to connect to the closest point from the second set of points.
If a point already has a connection, the link is created at the next point it is closest to. So every point has a different connection from the first set of points to the second set of points.
How can i do this?