0 votes

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 :)

in Engine by (391 points)

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.

thanks for your comment. :D 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. :)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.