CSG generates duplicate triangles rarely

The attached union should have 28 triangles, not 32. Will note this is the only time I’ve noticed this occurring.


too many triangles.rbxm (4.0 KB)

Thanks for the bug report! There are a few very slim triangles resulting from the parts not meeting precisely at the corners. Currently we don’t ensure the union’s geometry is optimal, but we are considering adding extra simplification passes to avoid this and reduce triangle counts. Luckily, I want to prioritize this improvement and your ticket will help me do that!

2 Likes

Will Mesh support be coming with the next batch of CSG updates? Asking because I only ran into this issue when tracing a mesh with parts to work around mesh support not being a thing yet.

Makes sense, mesh support will be great for this if we do it right. It’s on its way but it has to wait for some other updates to be stable and released first. We also want to get it right on the first try, so while it already works we’re not rushing it out the door.

In case you’re not aware, there’s an early access program for it (Roblox Betas | Solid Modeling Early Access), and we’d really love for more developers like you who are active on the devforum to give it a try and let us know what you think. I want to ensure it works well for your use cases.

3 Likes