Hello ROBLOX Developer Community! This is my first time posting a tutorial here, so please send me plenty of feedback in the replies.
Today I will be explaining why meshes are superior to unions and how to still be able to enjoy using CSG.
Unions can corrupt
If you have ever used unions before, you may have encountered a time where your unions corrupted. This is a known problem, and although there are ways to fix this, it is more reliable to just use MeshParts instead, which shouldn’t face the same problem.
Unions can only scale proportionally
When scaling a union, you will be unable to scale it individually on just one axis; it will automatically enlarge or shrink the union to maintain it’s original proportion, which is annoying to me, especially when I want to reuse something but also want to make it have a different proportion. Meshes, on the other hand, can be scaled just like parts and can be stretched without the entire MeshPart also enlarging or shrinking.
Unions are laggier
At the moment, this statement may not be true. However, in the ROBLOX Developer Conference 2018, it was announced that MeshParts are indeed better than unions. You can watch it here.
How to Easily Convert Unions To Meshes
It is so easy that you can do it in just 2 steps.
- Export the union
- Create a MeshPart
- Click on the folder icon next to MeshId and select your .obj file
Congratulations! You have now converted your union into a mesh. This is incredibly useful, especially if you do not know how to use third-party modelling apps but know how to use CSG, but want to prevent corruption, have control over scaling, and want to improve performance.
Edit: Be sure to check out @MissingFeature’s tutorial as well, which is a bit more complicated, but involves importing to .obj file to Blender for optimization and enhancement purposes: How To Convert Unions Into Meshes
Thank you for reading my tutorial. Once again, please do leave me some feedback and critique