SkateboardController
Memory category | Instances |
---|
Member index 3
Description
A SkateboardController is an object responsible for translating PlayerActions to movements with a SkateboardPlatform.
History 11
- 553 Change Default of Throttle from to 0
- 553 Change Default of Steer from to 0
- 486 Change ThreadSafety of Throttle from ReadOnly to ReadSafe
- 486 Change ThreadSafety of Steer from ReadOnly to ReadSafe
- 462 Change ThreadSafety of AxisChanged from to Unsafe
- 462 Change ThreadSafety of Throttle from to ReadOnly
- 462 Change ThreadSafety of Steer from to ReadOnly
- 47 Add AxisChanged
- 47 Add Throttle
- 47 Add Steer
- 47 Add SkateboardController
Members 3
AxisChanged
Parameters (1) | |
---|---|
axis | string |
Fired when any input state of the skateboard controller is updated. The
axis
is fired with either "Throttle"
if the throttle state of the
skateboard was updated or "Steer"
if the steering state of the
skateboard was updated.
Thread safety | Unsafe |
---|
History 2
- 462 Change ThreadSafety of AxisChanged from to Unsafe
- 47 Add AxisChanged
Steer
Type | Default | |
---|---|---|
float | 0 |
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.
This property is not replicated. Its interface does not cross the network boundary.
This property is read-only. Its value can be read, but it cannot be modified.
Thread safety | ReadSafe |
---|---|
Category | Axes |
Loaded/Saved | false |
Throttle
Type | Default | |
---|---|---|
float | 0 |
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.
This property is not replicated. Its interface does not cross the network boundary.
This property is read-only. Its value can be read, but it cannot be modified.
Thread safety | ReadSafe |
---|---|
Category | Axes |
Loaded/Saved | false |