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.

LeftTread

1

[OBSOLETE] Ancient & Broken

RightTread

2

[OBSOLETE] Ancient & Broken

Steer

3

[OBSOLETE] Ancient & Broken

Throttle

4

[OBSOLETE] Ancient & Broken

UpDown

6

[OBSOLETE] Ancient & Broken

Action1

7

[OBSOLETE] Ancient & Broken

Action2

8

[OBSOLETE] Ancient & Broken

Action3

9

[OBSOLETE] Ancient & Broken

Action4

10

[OBSOLETE] Ancient & Broken

Action5

11

[OBSOLETE] Ancient & Broken

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