SkateboardPlatform

Tampilkan yang Tidak Digunakan Lagi

*Konten ini akan segera tersedia dalam bahasa pilihanmu.

Tidak digunakan lagi

A SkateboardPlatform can be used to create a skateboard. When characters get on a skateboard, they are stuck to it until they press the escape key. Until then, the character uses skateboard animations and travels faster than a walking character.

Rangkuman

Properti

  • Hanya Baca
    Tidak Direplikasi
    Baca Paralel
    Tidak digunakan lagi

    The SkateboardPlatform's active SkateboardController.

  • Hanya Baca
    Tidak Direplikasi
    Baca Paralel
    Tidak digunakan lagi

    The Humanoid that is controlling the SkateboardPlatform.

  • Baca Paralel
    Tidak digunakan lagi

    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.

  • Baca Paralel
    Tidak digunakan lagi

    If true, wheels won't roll without user input.

  • Baca Paralel
    Tidak digunakan lagi

    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.

Properti diwarisi dari PartProperti diwarisi dari BasePartProperti diwarisi dari PVInstance

Metode

Metode diwarisi dari BasePartMetode diwarisi dari PVInstance

Acara

Acara diwarisi dari BasePart

Properti

Hanya Baca
Tidak Direplikasi
Baca Paralel

The SkateboardPlatform's active SkateboardController.

ControllingHumanoid

Hanya Baca
Tidak Direplikasi
Baca Paralel

The Humanoid that is controlling the SkateboardPlatform.

Steer

Baca Paralel

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.

StickyWheels

Baca Paralel

If true, wheels won't roll without user input.

Throttle

Baca Paralel

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.

Metode

ApplySpecificImpulse

void

Adds ''impulseWorld'' to the SkateboardPlatform's BasePart.Velocity.

Parameter

impulseWorld: Vector3

Memberikan nilai

void

Acara

Equipped

Fired when the skateboard is equipped.

Parameter

humanoid: Instance

The Humanoid associated with the character equipping the skateboard.

skateboardController: Instance

MoveStateChanged

Fired when the SkateboardPlatform's SkateboardPlatform.ControllingHumanoid changes the force being used on the SkateboardPlatform.

Parameter

newState: Enum.MoveState
oldState: Enum.MoveState

Unequipped

Fired whenever the skateboard is unequipped.

Parameter

humanoid: Instance

The Humanoid associated with the character that unequipped the skateboard.