Is it possible to create an irregular polygon in the editor or programmatically?

Hi!

I have a list of 2D vertices and I want to create a mesh like this one:

Is that possible? Maybe using Procedural Mesh or Geometry Script plugin.

This will the first step, when I check that I can do it I will need to do it with polar coordinates.

Thanks!

Yes you could do it with procedural meshes, but it gets a little more complex when building the mesh.


You will have to add in commands to triangulate the mesh and then move I think it was clockwise around the verts triangle by triangle (depending on the direction it will either be forward facing or back facing).