SkateboardPlatform

사용되지 않는 항목 표시
더 이상 사용되지 않음

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.

요약

속성

  • 읽기 전용
    복제되지 않음
    병렬 읽기
    더 이상 사용되지 않음

    The SkateboardPlatform's active SkateboardController.

  • 읽기 전용
    복제되지 않음
    병렬 읽기
    더 이상 사용되지 않음

    The Humanoid that is controlling the SkateboardPlatform.

  • 병렬 읽기
    더 이상 사용되지 않음

    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.

  • 병렬 읽기
    더 이상 사용되지 않음

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

  • 병렬 읽기
    더 이상 사용되지 않음

    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.

속성Part에서 상속되었습니다속성BasePart에서 상속되었습니다속성PVInstance에서 상속되었습니다

메서드

메서드BasePart에서 상속되었습니다메서드PVInstance에서 상속되었습니다

이벤트

이벤트BasePart에서 상속되었습니다

속성

읽기 전용
복제되지 않음
병렬 읽기

The SkateboardPlatform's active SkateboardController.

ControllingHumanoid

읽기 전용
복제되지 않음
병렬 읽기

The Humanoid that is controlling the SkateboardPlatform.

Steer

병렬 읽기

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

병렬 읽기

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

Throttle

병렬 읽기

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.

메서드

ApplySpecificImpulse

void

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

매개 변수

impulseWorld: Vector3

반환

void

이벤트

Equipped

Fired when the skateboard is equipped.

매개 변수

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.

매개 변수

newState: Enum.MoveState
oldState: Enum.MoveState

Unequipped

Fired whenever the skateboard is unequipped.

매개 변수

humanoid: Instance

The Humanoid associated with the character that unequipped the skateboard.