SurfaceType (Enum): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>JulienDethurens A player asked me to add the new Unjoinable enum to this list. I checked in the object browser whether it exists, and I tested it with some surfaces, but I'm not sure how exactly it acts with each surface. |
>JulienDethurens Thank HotThoth for this information. :) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
{{Enum/row|7|Motor|Forms a hinge-like bond with other surfaces, without free movement. A motors behavior depends on the [[SurfaceInput (Property)|surface input]].}} | {{Enum/row|7|Motor|Forms a hinge-like bond with other surfaces, without free movement. A motors behavior depends on the [[SurfaceInput (Property)|surface input]].}} | ||
{{Enum/row|8|SteppingMotor|Same as Motor.}} | {{Enum/row|8|SteppingMotor|Same as Motor.}} | ||
{{Enum/row|9|Unjoinable|}} | {{Enum/row|9|Unjoinable|Will prevent ROBLOX's building tools and the studio's built-in tools, as well as some user-made tools, from creating joints between parts using this surface. Excluding this particularity, this surface type currently works like the Smooth SurfaceType.}} | ||
}} | }} | ||
Line 16: | Line 16: | ||
{| class="wikitable" | {| class="wikitable" | ||
|+Surface Types | |+Surface Types | ||
!SurfaceType !! | !SurfaceType !! Weld !! Universal !! Studs !! Inlet !! Glue !! Smooth !! Unjoinable | ||
|- | |- | ||
| '''Weld''' || Weld || Weld || Weld || Weld | | '''Weld''' || Weld || Weld || Weld || Weld || Weld || Weld || Weld | ||
|- | |- | ||
| '''Universal''' || Weld || Snap || Snap || Snap || Glue || No Joint | | '''Universal''' || Weld || Snap || Snap || Snap || Glue || No Joint || No Joint | ||
|- | |- | ||
| '''Studs''' || Weld || Snap || No Joint || Snap || Glue || No Joint | | '''Studs''' || Weld || Snap || No Joint || Snap || Glue || No Joint || No Joint | ||
|- | |- | ||
| '''Inlet''' || Weld || Snap || Snap || No Joint || Glue || No Joint | | '''Inlet''' || Weld || Snap || Snap || No Joint || Glue || No Joint || No Joint | ||
|- | |- | ||
| '''Glue''' || Weld || Glue || Glue || Glue || Glue || Glue | | '''Glue''' || Weld || Glue || Glue || Glue || Glue || Glue || Glue | ||
|- | |- | ||
| '''Smooth''' || Weld || No Joint || No Joint || No Joint || Glue || No Joint | | '''Smooth''' || Weld || No Joint || No Joint || No Joint || Glue || No Joint || No Joint | ||
|- | |||
| '''Unjoinable''' || Weld || No Joint || No Joint || No Joint || Glue || No Joint || No Joint | |||
|} | |} | ||
== Notes == | |||
*The Unjoinable SurfaceType currently acts like the Smooth SurfaceType, but it might in the future not form joints with any surface. This is currently being debated by the admins. | |||
[[Category: Enums]] | [[Category: Enums]] |
Latest revision as of 23:03, 14 March 2012
The SurfaceType Enum for the surface property has 9 numbers: | ||
Enum | Name | Description |
0 | Smooth | Does not form a bond with any other surface, except Weld. |
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. |
9 | Unjoinable | Will prevent ROBLOX's building tools and the studio's built-in tools, as well as some user-made tools, from creating joints between parts using this surface. Excluding this particularity, this surface type currently works like the Smooth SurfaceType. |
The following table explains how SurfaceTypes work:
SurfaceType | Weld | Universal | Studs | Inlet | Glue | Smooth | Unjoinable |
---|---|---|---|---|---|---|---|
Weld | Weld | Weld | Weld | Weld | Weld | Weld | Weld |
Universal | Weld | Snap | Snap | Snap | Glue | No Joint | No Joint |
Studs | Weld | Snap | No Joint | Snap | Glue | No Joint | No Joint |
Inlet | Weld | Snap | Snap | No Joint | Glue | No Joint | No Joint |
Glue | Weld | Glue | Glue | Glue | Glue | Glue | Glue |
Smooth | Weld | No Joint | No Joint | No Joint | Glue | No Joint | No Joint |
Unjoinable | Weld | No Joint | No Joint | No Joint | Glue | No Joint | No Joint |
Notes
- The Unjoinable SurfaceType currently acts like the Smooth SurfaceType, but it might in the future not form joints with any surface. This is currently being debated by the admins.