if your shape is convex it’s really easy to convert to triangles.

Calculate the center point.

Sort the points anticlockwise

Join the triangles (triangle fan)
It’s not as optimal as techniques like ear clipping/cdt but at least it’s fairly easy to implement.

With delaunay i would use indices, a getslice on indices with a bin size of 2 does the job, vertices count is 3, but i think i calculate using this pin spreadcount, so use select with 3 as input and select count will be indices count /3, and send that part in the vertices count.

Hope that helps, if you got more questions don’t hesitate to ask.

i´ve used the delaunay solution with the indices,
And i can draw the diferent triangles, but i have a new problem :/

when i send this data to the polygon 2d (box2d) and generate the several poligons, the shapes don´t move,
maybe is this because the shapes are tangent to each other?

Thanks Julien,
Density is set to 2 (for my particular scene), and with a few random polygons it´s running properly.

I´ve changed only the incomming vertices and counts between random regular polygons and the delaunay data, and they are propertly displayed but static :/