Roblox Wiki
Advertisement
Roblox Wiki
Solid_Modeling_Physics_Demo

Solid Modeling Physics Demo

Demonstration of solid modeling, posted on November 10, 2014.

Solid modeling is a feature in Roblox Studio that combines or negates (NegateOperation light iconNegateOperation dark iconNegateOperation) two or more parts to form a UnionOperation light iconUnionOperation dark iconUnionOperation, 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[]

Union (Solid Modeling)

S-shaped UnionOperation

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[]

Negate (Solid Modeling)

A Union created from a NegativePart and a larger Part.

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[]

Separate (Solid Modeling)

Separated NegativePart and Part.

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[]

References[]

Advertisement