SkateboardPlatform

Afficher les obsolètes
obsolète

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.

Résumé

Propriétés

  • lecture uniquement
    non répliqué
    lecture parallèle
    obsolète

    The SkateboardPlatform's active SkateboardController.

  • lecture uniquement
    non répliqué
    lecture parallèle
    obsolète

    The Humanoid that is controlling the SkateboardPlatform.

  • lecture parallèle
    obsolète

    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.

  • lecture parallèle
    obsolète

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

  • lecture parallèle
    obsolète

    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.

Propriétés hérités de PartPropriétés hérités de BasePartPropriétés hérités de PVInstance

Méthodes

Méthodes hérités de BasePartMéthodes hérités de PVInstance

Évènements

Évènements hérités de BasePart

Propriétés

lecture uniquement
non répliqué
lecture parallèle

The SkateboardPlatform's active SkateboardController.

ControllingHumanoid

lecture uniquement
non répliqué
lecture parallèle

The Humanoid that is controlling the SkateboardPlatform.

Steer

lecture parallèle

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

lecture parallèle

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

Throttle

lecture parallèle

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.

Méthodes

ApplySpecificImpulse

void

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

Paramètres

impulseWorld: Vector3

Retours

void

Évènements

Equipped

Fired when the skateboard is equipped.

Paramètres

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.

Paramètres

newState: Enum.MoveState
oldState: Enum.MoveState

Unequipped

Fired whenever the skateboard is unequipped.

Paramètres

humanoid: Instance

The Humanoid associated with the character that unequipped the skateboard.