Enum
InputType
Deprecated
The InputType Enum controls the SurfaceInputs of Part.
Deprecated. This enum is deprecated as it is used by deprecated methods. It should not be used in new work.
The InputType Enum controls the SurfaceInputs of Part. Several
parameters here are left-overs from 2005, before Roblox was a multiplayer
game, and are used by Part.BackSurfaceInput,
Part.BottomSurfaceInput, Part.FrontSurfaceInput,
Part.LeftSurfaceInput, Part.RightSurfaceInput,
Part.TopSurfaceInput.
Items 3#
| Name | Value | Summary |
|---|---|---|
NoInput | 0 | Behaves like a weld and does nothing. |
Constant | 12 | Rotate at a constant velocity of BasePart ParamB. |
Sin | 13 | Rotate at a velocity of:
ParamA * math.sin(workspace.DistributedGameTime * ParamB), where
BasePart ParamA determines the maximum speed at which the part
spins, and BasePart ParamB determines how frequently it changes
direction. |