I’m taking a 3D mesh, generating the mesh graph nodes (Ivy) and generating an 2D mesh with the same connectivity. I orient each mesh face triangle on the corresponding 2D mesh node, and want to run a kangaroo collider so these triangles do not intersect.

That’s working great but I’m wondering the best way to keep the mesh graph connectivity information so that it will update when I run Kangaroo collider. Ideally the mesh graph would have angle constraints so it wouldn’t twist, and instead just expand until each triangle has enough space.

My intuition says to make my own mesh graph from the triangles in order to keep it with the simulation, but I’m thinking it might just be the lines and not the same connectivity order… Any advice would be appreciated

190903TriangleCollisionWithMeshGraph.gh (43.8 KB)