Surface (Property): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Blocco Forgot to count the 0.... |
>NXTBoy Fixed |
||
Line 3: | Line 3: | ||
'''This property is a summary of 6 different properties that perform the same action. They are ''BackSurface'', ''BottomSurface'', ''FrontSurface'', ''LeftSurface'', ''RightSurface'', and ''TopSurface''.''' | '''This property is a summary of 6 different properties that perform the same action. They are ''BackSurface'', ''BottomSurface'', ''FrontSurface'', ''LeftSurface'', ''RightSurface'', and ''TopSurface''.''' | ||
<onlyinclude>{{Property | |||
|name = Surface | |||
<onlyinclude> | |property = [[Enum]] ''SurfaceType'' | ||
{{Property| | |||
name = Surface | |||
|property = [[Enum]] ''SurfaceType'' | |||
|description = Sets what type of surface the side is. | |description = Sets what type of surface the side is. | ||
|object = | |object = BasePart | ||
}}</onlyinclude> | |||
</onlyinclude> | |||
Revision as of 16:49, 24 December 2010
This property is a summary of 6 different properties that perform the same action. They are BackSurface, BottomSurface, FrontSurface, LeftSurface, RightSurface, and TopSurface.
Surface | |
Property | Enum SurfaceType |
Description | Sets what type of surface the side is. |
Member of | BasePart |
Enum | Name | Description |
0 | Smooth | Does not form a bond with any other surface. |
1 | Glue | Forms a loose bond with other surfaces. |
2 | Weld | Forms a strong bond with other surfaces. |
3 | Studs | Only forms a weld-like bond with inlet surfaces. |
4 | Inlet | Only forms a weld-like bond with studded surfaces. |
5 | Universal | Forms weld-like bonds with Weld, Studs, Inlet and itself. |
6 | Hinge | Forms a hinge-like bond with other surfaces, with free movement. |
7 | Motor | Forms a hinge-like bond with other surfaces, without free movement. A motors behavior depends on the surface input. |
8 | SteppingMotor | Same as Motor. |