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

From Goodblox Wiki
Jump to navigationJump to search
m (Pizzaboxer moved page RBX.lua.Part (Object) to GBX.lua.Part (Object))
No edit summary
Line 14: Line 14:
In addition to the global properties, the Part also has these properties:
In addition to the global properties, the Part also has these properties:


*[[Anchored]]
*[[Anchored (Property)|Anchored]]
*[[BrickColor]]
*[[BrickColor (Property)|BrickColor]]
*[[CFrame]]
*[[CFrame (Property)|CFrame]]
*[[CanCollide]]
*[[CanCollide (Property)|CanCollide]]
*[[Controller]]
*[[Controller (Property)|Controller]]
*[[ControllerFlagShown]]
*[[ControllerFlagShown (Property)|ControllerFlagShown]]
*[[Elasticity]]
*[[Elasticity (Property)|Elasticity]]
*[[Friction]]
*[[Friction (Property)|Fricton]]
*[[Locked]]
*[[Locked (Property)|Locked]]
*[[NetworkOwner]]
*[[NetworkOwner (Property)|NetworkOwner]]
*[[Position]]
*[[Position (Property)|Position]]
*[[Reflectance]]
*[[Reflectance (Property)|Reflectance]]
*[[RotVelocity]]
*[[RotVelocity (Property)|RotVelocity]]
*[[Shape]]
*[[Shape (Property)|Shape]]
*[[Size]]
*[[Size (Property)|Size]]
*[[Transparency]]
*[[Transparency (Property)|Transparence]]
*[[Velocity]]
*[[Velocity (Property)|Velocity]]
*[[formFactor]]
*[[FormFactor (Property)|formFactor]]


==Surfaces==
==Surfaces==

Revision as of 09:52, 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:

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