PcoWSkbVqDnWTu_dm2ix
The Developer Hub is now deprecated and information on this page may no longer be accurate. To see our new and improved documentation, please click here. You can read more about the future of documentation here.
Collapse Sidebar

InputType

InputType

The InputType Enum controls the SurfaceInputs of Part. Several parameters here are left-overs from 2005, before Roblox was a multiplayer game, and have no known functionality.

Example

Below is an animation of the Sin InputType:
Animation of the Sin InputType


Enums

Name Value Description

NoInput

0

Behaves like a weld, and does absolutely nothing.

Constant

12

Rotate at a constant velocity of /BasePart ParamB.

Sin

13

Rotate at a velocity of:

ParamA * math.sin(game.Workspace.DistributedGameTime * ParamB).

/BasePart ParamA will determine the maximum speed at which the part will spin, and BasePart ParamB will determine how frequently it changes direction.

Referenced by:

  • BasePart/TopSurfaceInput
  • BasePart/RightSurfaceInput
  • BasePart/LeftSurfaceInput
  • BasePart/FrontSurfaceInput
  • BasePart/BottomSurfaceInput
  • BasePart/BackSurfaceInput