Hi everyone

For a poor man's cloth simulation, how would you iterate through each vertex of a 3d model, then assign each vertex "neighbors" to push and pull? Is there any function or way to see if one vertex is the neighbor of another? if they share the same edge, or same triangle?

this is more of a just for fun thing instead of something that is important. I have done very simple cloth before in A6, but it was very inefficient and I dont dare to use the code again. What I did was just create an object for every single vertex of a 3d model, then cause these objects to move the mesh with vec_for_mesh. These objects had no neighbors/links.

Getting a single vertex to have "links" to other vertexes are the crux of cloth simulation, and I was wondering if you had any ideas laugh