+1 vote

Hi, I have had some problems with weird slices of CSGBoxes being cut out (in both the editor, and debug view [I assume it would be like this on export too]), cresting both gaps in the visible mesh, as well as the CollisionShape (collisions are turned on in the CSGCombiner, if this might affect anything). I have included a screenshot of the game in debug mode, though it is the exact same in the editor view too.

Any help would be greatly appreciated!

EDIT: fixed the image URL

EDIT 2: (sorry if this makes no sense) if I move a CSGBox to be for example -4.999 on the y axis, rather than 5, then the chunks that were previously gone reappear, however, this is tedious, and slows down my progress with the level design, so I wonder if there is a better solution...

(image URL)

Godot version v3.3.2.stable.official
in Engine by (272 points)
edited by

1 Answer

+1 vote
Best answer

those "errors" are symptomatic for boolean operations. This is due to the mathematical imprecision of computers. Things get glitchy when the boolean objects "touch" and dont overlap or when surfaces intersect with very flat angles.

There is nothing you can do other then avoid those constelations.

I dont know your type of game but i suggest "normal" hard-surface modelling in a modelling suit is the better way to go.

by (3,932 points)
selected by

OK, I think I will use the CSGBoxes for the level design, then recreate the levels in blender - thank you for your help!

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 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 webmaster@godotengine.org with your username.