Asteroid mining is THE thing you do in this game, so I wanted to ensure there is a variety of rocks that you can encounter.
I ended up creating an addon for the Godot editor where I can generate random polygons and fill them with Voronoi cells. Each cell is destructible, so that's how I handle the asteroids' modularity.The downside is that it takes a long time to generate the cells for huge rocks, but considering it's a one-time cost, I can live with that :)I also added an option to hand-draw the shapes because it's fun :D
Follow me for more updates