I wish i could do boolean operations (union, intersection, difference) on meshes/surfaces out of the box. Somthing like https://jgeom.dev.java.net/ or http://gts.sourceforge.net/
Boolean operations, while cool, are not really a core aspect of any game out there. There's a significant R&D cost associated with something like that, and if Unity users used booleans too much they could significantly hurt performance. More to the point, there's absolutely nothing - save programming talent - keeping anyone else in the Unity community from implementing their own booleans. It's actually on my radar to develop as middleware sometime if I can figure out how to code it (it won't come free, and maybe not even cheap).
Indeed...Blender's had boolean operations for years, upgraded a number of times, and they still do wonky things sometimes. Seems pretty non-trivial to me.... --Eric
yep but it could give us some "creative" games and it is a feature not only for games. sure but i dont see any problem with that. it is like other features in unity. i am working as programmer for 7 years now and for me it is very hard to implement it :-( i think it is because my math suck a little bit or it isnt trivial.
My point is that it's no less trivial for the UT guys than it is for you or someone else in the community. So why not let them focus on the things only they can do (like upgrading stability, editor extensibility, the programming languages, etc), and move this thread over to Collaboration?
Ok. I have done it by myself. Anyone knows a good paper or example for decompose convex meshes ? Greetings Steffen
Hi, I don't know a good paper about this, but I have the same problem and am lookng for a solution. Right now my approach is: import mesh in blender, write a blender script for doing the union and export in a mesh format read by unity. I posted my blender script here: (http://www.blender.org/forum/viewtopic.php?p=70928#70928) if it's of any use to you. Let me know if you find a solution, please!
hi, i converted the c-code from the convex decomposition code from http://www.codesuppository.blogspot.com/ to c#. Greetings Steffen
This would be really nice. I don't know if Red Faction and Battlefield Bad Company used booleans, but maybe booleans could be used to get that destructability effect?
I know, this thread is an old one. Still, I am severely interested in the ConvexDecomposition script, translated to C#. I would highly appreciate it if you shared it with us, Steffen. Thanks in advance!