SabreCSG icon indicating copy to clipboard operation
SabreCSG copied to clipboard

Invisible NoCSG collision brushes don't have collision

Open Henry00IS opened this issue 6 years ago • 2 comments

Apparently the NoCSG brushes with collision enabled and visibility off, are just ignored for collision completely. While it's very rare that you'd ever need to do this (e.g. long build times, severe splitting from cylinders), this combination shouldn't behave unexpectedly. It's probably some if-sentence that's wrong somewhere.

image

Henry00IS avatar May 05 '18 09:05 Henry00IS

Looking into this, it appears as though it's only accounting for BuiltVisualPolygons when calculating collision, in the CoreBuild() method in CSGFactory, starting at line 402.

I'm not sure how to go about fixing this, but it's a place to start though.

nukeandbeans avatar May 28 '18 05:05 nukeandbeans

Yes this turns out to be a lot more complicated and deeply rooted than I initially thought. Fixing this the wrong way will cause NoCSG brushes to have CSG operations.

Henry00IS avatar May 28 '18 09:05 Henry00IS