Hi, I’m working with a simple example based on @DanielPiker’s “collide 2d shapes” example from his GitHub repository. I can’t find that component in the latest Kangaroo menu. Was Collide2d (C2d) rewritten and renamed to CurveCollide (CC)? Or was it meant to be a custom component?
When using the CC component, I’m getting duplicate polygons in the solution. One set seems reference each vertex in the polyline and satisfies the OnMesh goal I’m using but not the CC goal. The other references just the centroid, staying intact when grabbed and satisfies the CC goal but not the OnMesh goal.
When I use the C2d component pasted in from the Github example, the simulation behaves as expected with no duplicates.
Perhaps there’s something off in my definition… or the two components are designed for different uses?
duplicate_polygons.gh (24.5 KB)