SurfaceConstraint¶
Supported Enum
This item is deprecated and is replaced by the SurfaceType enum.
Items¶
| Item | Value | Status | Notes |
|---|---|---|---|
None |
0 | Supported | No surface constraint. |
Hinge |
1 | Supported | Makes the side appear with a yellow hinge. Any part connected to this hinge will stick to the side and rotate using physics. |
SteppingMotor |
2 | Supported | Functions identically to a motor. It may have functioned differently in the past, but that functionality no longer seems to exist. |
Motor |
3 | Supported | Acts the same as a Hinge, but has a grey ring around it and automatically rotates any part connected to it. |
Roblox reference: SurfaceConstraint