i am trying to figure out how to systematically minimize the distance between two nodes in space using the AnyOptKin study. Therefore i created the small example attached to this post.
The first node is called Marker0, located in the origin of the global reference frame.
The second node is called Marker1, initially located at x = 0.1, y = 0.1 and z = 0.
I am trying to use the AnyOptKin study to change the x and y position of Marker1 in the range of min = -0.05, max = 0.05 to minimize its distance to Marker0.
The AnyDesVariables are PosXPointM1 and PosYPointM1.
The AnyDesMeasure is DistanceM0toM1
Right now, i am not quite sure if this is the right way to procede.