GBX.lua.Part (Object): Difference between revisions
From Goodblox Wiki
Jump to navigationJump to search
Pizzaboxer (talk | contribs) (Created page with "{{CatUp|Class reference}} __NOTOC__ The '''Part''' object is a physical object. It, when it is in the Workspace, will move and interact with o...") |
Pizzaboxer (talk | contribs) m (Pizzaboxer moved page Part to RBX.lua.Part (Object)) |
(No difference)
|
Revision as of 09:30, 23 June 2020
The Part object is a physical object. It, when it is in the Workspace, will move and interact with other parts. It can have bonds formed with other parts, so that the two parts stay in the same relative position.
Functions
In addition to the global functions, the Part also has the following functions:
Properties
In addition to the global properties, the Part also has these properties:
- Anchored
- BrickColor
- CFrame
- CanCollide
- Controller
- ControllerFlagShown
- Elasticity
- Friction
- Locked
- NetworkOwner
- Position
- Reflectance
- RotVelocity
- Shape
- Size
- Transparency
- Velocity
- formFactor
Surfaces
Since the Part 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 Part also has these events::