Creating randomly generated caves using terrain

I would like to create a way to randomly generate caves using workspace.Terrain, I am aware of functions like Terrain:FillBall() or Terrain:FillBlock() in order to create the terrain, but I do not know how to implement this in order to create a cave/multiple caves.

My efforts have mostly been met with really boring caves, which consisted of massive blocks of stone with random spheres cut out of them.

I know there is math.noise but I don’t know how to use this to create the generation.

Any help is appreciated. Many Thanks.

1 Like