SkateboardPlatform

Artık kullanılmayanları göster

*Bu içerik, tercih ettiğin dilde çok yakında mevcut olacak.

Artık Kullanılmayan

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.

Özet

Özellikler

  • Salt Okunur
    Çoğaltılmamış
    Paralel oku
    Artık Kullanılmayan

    The SkateboardPlatform's active SkateboardController.

  • Salt Okunur
    Çoğaltılmamış
    Paralel oku
    Artık Kullanılmayan

    The Humanoid that is controlling the SkateboardPlatform.

  • Paralel oku
    Artık Kullanılmayan

    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.

  • Paralel oku
    Artık Kullanılmayan

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

  • Paralel oku
    Artık Kullanılmayan

    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.

Şuradan alınan Özellikler: PartŞuradan alınan Özellikler: BasePartŞuradan alınan Özellikler: PVInstance

Yöntemler

Şuradan alınan Yöntemler: BasePartŞuradan alınan Yöntemler: PVInstance

Etkinlikler

Şuradan alınan Etkinlikler: BasePart

Özellikler

Salt Okunur
Çoğaltılmamış
Paralel oku

The SkateboardPlatform's active SkateboardController.

ControllingHumanoid

Salt Okunur
Çoğaltılmamış
Paralel oku

The Humanoid that is controlling the SkateboardPlatform.

Steer

Paralel oku

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

Paralel oku

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

Throttle

Paralel oku

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.

Yöntemler

ApplySpecificImpulse

void

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

Parametreler

impulseWorld: Vector3

Dönüşler

void

Etkinlikler

Equipped

Fired when the skateboard is equipped.

Parametreler

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.

Parametreler

newState: Enum.MoveState
oldState: Enum.MoveState

Unequipped

Fired whenever the skateboard is unequipped.

Parametreler

humanoid: Instance

The Humanoid associated with the character that unequipped the skateboard.