PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

SkateboardController

Show deprecated

SkateboardController

Show deprecated

A SkateboardController is an object responsible for translating PlayerActions to movements with a SkateboardPlatform.

Properties

float

Steer

[ReadOnly] [NotReplicated]

The direction of movement, tied to the keys A and D. Must be 1 (right), 0 (straight), or -1 (left). Will refresh back to 0 unless constantly set.

float

Throttle

[ReadOnly] [NotReplicated]

The direction of movement, tied to the keys W and S. Must be an integer 1 (forward), 0 (null), or -1 (reverse). Will refresh back to 0 unless constantly set.

Functions

Events

RBXScriptSignal

AxisChanged ( string axis )

Fired when any input state of the skateboard controller is updated.