i just wanna make an effect of rope, and dragging it to wherever i want, and it also can bend without any constraint. before i decided to implement it, i've found that my naive algorithm isn't feasible , my rough steps as the following:
in the above step 2, which result in triangles overlapping each other at round angle(as the figure shows).especially,the more curve point at the round angle,the more triangles overlap each other.so i'm looking for an elegant way to get rid of it. if you know please let me know,thank you. sorry for my bad english.
figure 1: it's just a sketch,not program screenshot.
- using bezier or something else to generate curve point sets(red point as the following figure shows).
- to generate 2d curve mesh or quad based on previous and last point from the sets.
in the above step 2, which result in triangles overlapping each other at round angle(as the figure shows).especially,the more curve point at the round angle,the more triangles overlap each other.so i'm looking for an elegant way to get rid of it. if you know please let me know,thank you. sorry for my bad english.
figure 1: it's just a sketch,not program screenshot.
