PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
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:
enter image description here


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