GBX.lua.Part (Object): Difference between revisions

From Goodblox Wiki
Jump to navigationJump to search
No edit summary
mNo edit summary
 
Line 1: Line 1:
{{CatUp|Class reference}}
{{CatUp|Class reference}}
The '''Part''' object is a physical object. It, when it is in the [[GBX.lua.Workspace (Service)|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.
__NOTOC__
__NOTOC__
The '''Part''' object is a physical object. It, when it is in the [[GBX.lua.Workspace (Service)|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==
==Functions==
In addition to the global functions, the Part also has the following functions:
In addition to the global functions, the Part also has the following functions:
Line 72: Line 70:
* [[Touched]]
* [[Touched]]


[[Category:Goodblox Lua Objects]]
[[Category:GoodBlox Lua Objects]]

Latest revision as of 20:13, 23 September 2021

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:

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::