GBX.lua.Seat (Object)

From Goodblox Wiki
Jump to navigationJump to search

Preliminary: This item was still under development in this version of Roblox. Use only for experimental work.

The Seat object creates a brick that when touched by a player will anchor their torso to the brick and move their arms and legs forward, in a sitting position just above the brick. This allows for the creation of vehicles that players can sit in and not be flung about the cabin/deck of the vehicle.

The Seat is a variation of the Part object, so it includes all of the same functions, properties and events as the Part.

Functions

In addition to the standard functions, the Seat also has the following functions:

Properties

In addition to the basic global properties, the Seat also has these properties:

Surfaces

Since the Seat is a 3D rendered object, it has surface properties and inputs. There is a Parameter A, B, a Surface and a SurfaceInput for each of the 6 sides. Since they all work the same, they are only documented once. Simply place the name of the side in front of the property:

Events

In addition to the global Events, the Seat also has these events::