Solid modeling is a feature in Roblox Studio that combines or negates (NegateOperation) two or more parts to form a UnionOperation, also simply known as unions. Solid modeling was introduced on August 1, 2014,[1] arising from a Hack Week project. In 2017, Roblox released CSGv2[2], designed to address the limitations of the original system, while possessing some of its own.
Solid modeling supports block, sphere, wedge, and cylinder part types only. Unions also support only one color and material per union. rescaling a Union will no longer scale it evenly, instead scaling one side as opposed to all of them.
Collisions are also not one to one with how the union appears. Roblox simplifies mesh and union collision models to save on storage - this can result in considerably incorrect physics interactions.
In some cases, it may be better to use regular parts instead of a Union. Using fewer Unions can increase load times.
Differences between CSGv1 and CSGv2[]
Both systems have differences that can lead to some cases where one would be more desirable to use than the other.
CSGv1[]
- CSGv1 makes edges on geometry appear smooth.
- When working as expected, it negates and unions parts accurately.
Drawbacks
- CSGv1 has a maximum of 2,500 triangles, which can be very limiting in some cases.
- Union generation is more prone to error than CSGv2.
CSGv2[]
- CSGv2 is less prone to error than CSGv1.
- The maximum triangle count is 5,000.
Drawbacks
- Unions generated with CSGv2 are prone to corruption, and not being able to load.
- The lack of smooth shading support makes edges on geometry stand out more and appear sharp.
Union[]
Unions are multiple parts, unions, or a combination of the two, fused into a new object that is capable of interacting with other objects.
Creating a union is simple. Select the parts you'd like to combine and then click the Union button under the MODEL tab to create a Union.
Negate[]
NegativeParts are parts that can subtract from a Union or a Part to create a new Union. The same limitations apply to negation as does when creating a union.
Negation requires one or more NegativeParts and one or more Unions or Parts. These also need to be intersecting with each other. When your NegativePart(s) and your regular Unions or Parts are now connecting, select them and click the Union button under the MODEL tab to subtract.
Separate[]
Unions can be separated to correct errors or to make adjustments to geometry. Select a union you'd like to separate, then click the Separate button under the MODEL tab.
External links[]
- 3D Modeling with Parts on the Roblox Developer Hub
References[]
- ↑ adamintygum (2014, August 1). "Solid Modeling Is Here: A New Way to Build". From Roblox Blog. Archived from the original on August 23, 2024.
- ↑ https://devforum.roblox.com/t/new-csg-system-in-studio-try-it-out-tell-us-what-you-think/58441