3D node that will allow the player to dig

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Millard

I’m thinking about making a game that allows the player to dig in a spherical planet. Unfortunately I have little to no experience in voxels or mesh generation by code. Is there a Godot node that would make it easier to program digging. Would CSG meshes work?

thanks for the help :slight_smile:

My knowledge on this is pretty slim, but I would think that a CSG mesh is the easiest solution. You can set the planet as the main csg mesh, and “dig” by placing a csg mesh which subtracts from the planet mesh.

RedBlueCarrots | 2020-06-05 02:48

thanks for your comment. :smiley: I’ll try it. I’m pretty sure CSG meshes collide with rigid bodies, but if they don’t it won’t work. I guess I’ll see. :slight_smile:

Millard | 2020-06-05 04:06