Class
SkateboardPlatform
Deprecated
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.
Deprecated. The SkateboardPlatform object has been deprecated and is no longer supported
by Roblox. Developers looking to create skateboards or similar vehicles are
advised to program their own systems. Additionally, the VehicleSeat
object can be used to quickly create simple vehicles.
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.
Properties 5#
ControllerSkateboardController | The SkateboardPlatform's active SkateboardController.ReadSafeDeprecatedReadOnlyNotReplicated |
ControllingHumanoidHumanoid | The Humanoid that is controlling the SkateboardPlatform.ReadSafeDeprecatedReadOnlyNotReplicated |
Steerint | 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.ReadSafeDeprecated |
StickyWheelsboolean | If true, wheels won't roll without user input.ReadSafeDeprecated |
Throttleint | 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.ReadSafeDeprecated |
Controller: SkateboardController#
ReadOnlyNotReplicatedReadSafeDeprecated
Deprecated. The SkateboardPlatform object has been deprecated and is no longer
supported by Roblox. Developers looking to create skateboards or similar
vehicles are advised to program their own systems. Additionally, the
VehicleSeat object can be used to quickly create simple vehicles.
The SkateboardPlatform's active SkateboardController.
ControllingHumanoid: Humanoid#
ReadOnlyNotReplicatedReadSafeDeprecated
Deprecated. The SkateboardPlatform object has been deprecated and is no longer
supported by Roblox. Developers looking to create skateboards or similar
vehicles are advised to program their own systems. Additionally, the
VehicleSeat object can be used to quickly create simple vehicles.
The Humanoid that is controlling the SkateboardPlatform.
Steer: int#
ReadSafeDeprecated
Deprecated. The SkateboardPlatform object has been deprecated and is no longer
supported by Roblox. Developers looking to create skateboards or similar
vehicles are advised to program their own systems. Additionally, the
VehicleSeat object can be used to quickly create simple vehicles.
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: boolean#
ReadSafeDeprecated
Deprecated. The SkateboardPlatform object has been deprecated and is no longer
supported by Roblox. Developers looking to create skateboards or similar
vehicles are advised to program their own systems. Additionally, the
VehicleSeat object can be used to quickly create simple vehicles.
If true, wheels won't roll without user input.
Throttle: int#
ReadSafeDeprecated
Deprecated. The SkateboardPlatform object has been deprecated and is no longer
supported by Roblox. Developers looking to create skateboards or similar
vehicles are advised to program their own systems. Additionally, the
VehicleSeat object can be used to quickly create simple vehicles.
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.
Methods 1#
| ApplySpecificImpulse | Adds ''impulseWorld'' to the SkateboardPlatform's
BasePart.Velocity.Deprecated |
ApplySpecificImpulse(impulseWorld: Vector3): ()#
Deprecated
Deprecated. The SkateboardPlatform object has been deprecated and is no longer
supported by Roblox. Developers looking to create skateboards or similar
vehicles are advised to program their own systems. Additionally, the
VehicleSeat object can be used to quickly create simple vehicles.
Adds ''impulseWorld'' to the SkateboardPlatform's
BasePart.Velocity.
| Name | Type | Default | Description |
|---|---|---|---|
impulseWorld | Vector3 |
Returns
()
Events 5#
| Equipped | Fired when the skateboard is equipped.Deprecated |
| equipped | Deprecated |
| MoveStateChanged | Fired when the SkateboardPlatform's
SkateboardPlatform.ControllingHumanoid changes the force being
used on the SkateboardPlatform.Deprecated |
| Unequipped | Fired whenever the skateboard is unequipped.Deprecated |
| unequipped | Deprecated |
Equipped(humanoid: Instance, skateboardController: Instance)#
Deprecated
Deprecated. The SkateboardPlatform object has been deprecated and is no longer
supported by Roblox. Developers looking to create skateboards or similar
vehicles are advised to program their own systems. Additionally, the
VehicleSeat object can be used to quickly create simple vehicles.
Fired when the skateboard is equipped.
| Name | Type | Default | Description |
|---|---|---|---|
humanoid | Instance | The Humanoid associated with the character equipping the
skateboard. | |
skateboardController | Instance | The SkateboardController. |
equipped(humanoid: Instance, skateboardController: Instance)#
DeprecatedDeprecated
Deprecated. This deprecated event is a variant of SkateboardPlatform.Equipped
which has also been deprecated. Neither event should be used in new work.
MoveStateChanged(newState: MoveState, oldState: MoveState)#
Deprecated
Deprecated. The SkateboardPlatform object has been deprecated and is no longer
supported by Roblox. Developers looking to create skateboards or similar
vehicles are advised to program their own systems. Additionally, the
VehicleSeat object can be used to quickly create simple vehicles.
Fired when the SkateboardPlatform's
SkateboardPlatform.ControllingHumanoid changes the force being
used on the SkateboardPlatform.
Unequipped(humanoid: Instance)#
Deprecated
Deprecated. The SkateboardPlatform object has been deprecated and is no longer
supported by Roblox. Developers looking to create skateboards or similar
vehicles are advised to program their own systems. Additionally, the
VehicleSeat object can be used to quickly create simple vehicles.
Fired whenever the skateboard is unequipped.
unequipped(humanoid: Instance)#
DeprecatedDeprecated
Deprecated. This deprecated event is a variant of
SkateboardPlatform.Unequipped which has also been deprecated.
Neither event should be used in new work.
| Name | Type | Default | Description |
|---|---|---|---|
humanoid | Instance |
Inherited members#
Inherited from FormFactorPart 2
Properties (2)
Inherited from BasePart 106
Properties (69)
Anchored, AssemblyAngularVelocity, AssemblyCenterOfMass, AssemblyLinearVelocity, AssemblyMass, AssemblyRootPart, AudioCanCollide, BackParamA, BackParamB, BackSurface, BackSurfaceInput, BottomParamA, BottomParamB, BottomSurface, BottomSurfaceInput, BrickColor, brickColor, CanCollide, CanQuery, CanTouch, CastShadow, CenterOfMass, CFrame, CollisionGroup, CollisionGroupId, Color, CurrentPhysicalProperties, CustomPhysicalProperties, Elasticity, EnableFluidForces, ExtentsCFrame, ExtentsSize, Friction, FrontParamA, FrontParamB, FrontSurface, FrontSurfaceInput, LeftParamA, LeftParamB, LeftSurface, LeftSurfaceInput, LocalTransparencyModifier, Locked, Mass, Massless, Material, MaterialVariant, Orientation, PivotOffset, Position, ReceiveAge, Reflectance, ResizeableFaces, ResizeIncrement, RightParamA, RightParamB, RightSurface, RightSurfaceInput, RootPriority, Rotation, RotVelocity, Size, SpecificGravity, TopParamA, TopParamB, TopSurface, TopSurfaceInput, Transparency, Velocity
Methods (32)
AngularAccelerationToTorque, ApplyAngularImpulse, ApplyImpulse, ApplyImpulseAtPosition, BindToCollisionSummaries, BreakJoints, breakJoints, CanCollideWith, CanSetNetworkOwnership, GetClosestPointOnSurface, GetConnectedParts, GetJoints, GetMass, getMass, GetNetworkOwner, GetNetworkOwnershipAuto, GetNoCollisionConstraints, GetRenderCFrame, GetRootPart, GetTouchingParts, GetVelocityAtPosition, IntersectAsync, IsGrounded, MakeJoints, makeJoints, Resize, resize, SetNetworkOwner, SetNetworkOwnershipAuto, SubtractAsync, TorqueToAngularAcceleration, UnionAsync
Events (5)
LocalSimulationTouched, OutfitChanged, StoppedTouching, Touched, TouchEnded
Inherited from Instance 58
Properties (10)
Archivable, archivable, Capabilities, IsInSandbox, Name, Parent, PredictionMode, RobloxLocked, Sandboxed, UniqueId
Methods (39)
AddTag, children, ClearAllChildren, Clone, clone, Destroy, destroy, FindFirstAncestor, FindFirstAncestorOfClass, FindFirstAncestorWhichIsA, FindFirstChild, findFirstChild, FindFirstChildOfClass, FindFirstChildWhichIsA, FindFirstDescendant, GetActor, GetAttribute, GetAttributeChangedSignal, GetAttributes, GetChildren, getChildren, GetDebugId, GetDescendants, GetFullName, GetStyled, GetStyledPropertyChangedSignal, GetTags, HasTag, IsAncestorOf, IsDescendantOf, isDescendantOf, IsPropertyModified, QueryDescendants, Remove, remove, RemoveTag, ResetPropertyToDefault, SetAttribute, WaitForChild