CSGBoxes & GSGCombiners creating weird holes/fractures in other CSGMeshes/Boxes (image included) [solved]

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

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)

:bust_in_silhouette: Reply From: klaas

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.

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

Snail0259 | 2021-08-13 07:55