Currently, I am in the process of designing an industrial robot model consisting of moving parts, with movement controlled via a dat.GUI panel.
Here is a screenshot depicting the model
My current dilemma lies in figuring out how to create the rope component (identified as number 3 in the image) in a way that allows it to adjust its length dynamically as the 'hook' part (number 2) is moved up and down. It is crucial that the rope remains connected to both the hook and the base (number 1) throughout this movement.
In my initial attempts, I experimented with tube geometry. However, I encountered challenges in manipulating it effectively to achieve the desired outcome.
If you are interested, you can access the source code for this project here
Do you have any suggestions on a specific shape that may be easier to work with in this scenario? I welcome any feedback or tips you may have!