Reference API Roblox

Engine API

Website

Related

Reference API Roblox

InputType

The InputType Enum controls the SurfaceInputs of Part.

Items 3

HistoryNameValueLegacy NamesDescription
536NoInput0Action1, Action2, Action3, Action4, Action5, LeftTread, RightTread, Steer, Throtle, Throttle, UpDown

Behaves like a weld and does nothing.

356Constant12

Rotate at a constant velocity of BasePart ParamB.

356Sin13

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.

Removed items 11

HistoryNameValue
356Action17
356Action28
356Action39
356Action410
356Action511
356LeftTread1
356RightTread2
356Steer3
255Throtle4
356Throttle4
356UpDown6

Description

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.

History 43

Settings