Is there a way to generate polygons in game using scripts?

I was just wondering if there is an efficient way to generate 3d polygons using Vector3 values. I could have done other thing which actually does generate parts and weld them but those are laggy even in the studio.

It could be from simple parts like Cubes to Negative part - Union Boolean shapes thing (basically irregular polygon shapes).

Initially, I thought of generating planes based on Vector3 values and then connecting them, but those were impossible/laggy too :((

You could possibly do this using unions and negative parts, but not sure if its efficient.

1 Like