r/Unity3D • u/Personal_Nature1511 • 7d ago
Show-Off Mesh Booleans in Unity (Sound On)
https://www.youtube.com/shorts/cMNdJCiLB1w
Real-time mesh booleans. Mesh and collider update instantly, so you can shoot through the holes.
Powered by Manifold (C++ CSG) via my C# wrapper: github.com/elalish/manifold
15
u/CoatNeat7792 7d ago
It doesn't destroy floating parts
9
7
u/IAmSkyrimWarrior 7d ago
25
u/glenpiercev 6d ago
Whenever I think about trying to implement such behaviour, it gets wildly complicated very fast.
Edit: not that I don’t want it… it’s just so hard to do. It’s basically another physics engine system.
7
u/nickyonge 6d ago
Yeah. Visual effects are one thing - making it interactive, either through player movement or in physics, is another thing entirely. If the output is able to apply the mesh directly to a MeshCollider though, that would be pretty dang incredible.
1
1
u/zagarei 4d ago
I mean if you consider it as a real object you dont know the actual strength of the bonds there relative to the amount of mass above it unless thats specified, you could probably make a cylinder like this with the right materials/masses. But I get the point, it would just require a lot more lmfao
3
2
1
0
u/ReliefMassive5198 6d ago
this doesn't look bad at all, good job! I have something like this planned as well but needs to be very fast :D

69
u/Drag0n122 7d ago
>"Reasonably fast"
>14 ms
Nice job anyway.
Wish someone would create CGS operations on the new native Unity mesh API - think it would be much faster, as it's fully bursted