SurfaceType
Used to determine how a surface should be displayed on a part and how automatic surface joints should behave.
Surface behavior
When surface joining is on, all planar touching flat sides of parts will weld together, regardless of SurfaceType. This does not affect Hinge, Motor, SteppingMotor.
- Glue, Studs, Inlets, Universal, Weld, and Smooth surfaces will all create Weld instances
- Spheres will not surface-weld to anything. The rounded sides of cylinders will not surface-weld, but the flat end sides will.
Surface appearance
Stud, Inlet, Universal, Weld, and Glue Surface textures only appear on plastic material parts, both in-game and in Studio.
See also:
- Workspace:JoinToOutsiders(), creates joints between the specified parts and any touching parts depending on the parts' surfaces and the specified joint creation mode
- JointCreationMode, the way joints are created between two surfaces
Items
Name | Value | Summary |
---|---|---|
Smooth | 0 | |
Glue | 1 | |
Weld | 2 | |
Studs | 3 | |
Inlet | 4 | |
Universal | 5 | |
Hinge | 6 | |
Motor | 7 | |
SteppingMotor | 8 | |
SmoothNoOutlines | 10 |