Roblox Wiki
Roblox Wiki
No edit summary
(Replaced content with " Category:Lua Instance Objects")
Line 1: Line 1:
βˆ’
[[File:ImagesCAFRFTZD.jpg|thumb|Bricks or parts]]A part is one of the most common objects in ROBLOX. The parts common names are: "Smooth Block Model", "Brick" and most commonly "Part".[[File:Brick.png|thumbnail|A typical Part]]
 
βˆ’
Almost always this is the most used Instance in Roblox.
 
βˆ’
[[File:Brick1.jpg|thumb|Blue Brick]][[File:Birck2.jpg|thumb|Gray Brick]][[File:Brick3.jpg|thumb|Red Brick]]
 
βˆ’
==Object Reference==
 
   
βˆ’
{{Instance|Part|{{VarList
 
βˆ’
|v1=Boolean [[Anchored]] |d1=Determines whether the the part remains fixed relative to the origin
 
βˆ’
|v2=[[BrickColor]] |d2=The color of the brick
 
βˆ’
|v3=CFrame [[CFrame]] |d3=The position and rotation of the brick
 
βˆ’
|v4=Boolean [[CanCollide]] |d4=Determines whether the the part can collide with other parts
 
βˆ’
|v5=Number [[Elasticity]] |d5 =Currently no functionality
 
βˆ’
|v6=Number [[Friction]] |d6=Determines the slowing rate of a brick once a force acts on it
 
βˆ’
|v7=Boolean [[Locked]] |d7=Determines whether the select tool can be used on this part
 
βˆ’
|v8=[[Material]] |d8=Determines the material of a brick; i.e. wood, slate.
 
βˆ’
|v9=Number [[Reflectance]] |d9=The reflectance of the part (0-1)
 
βˆ’
|v10=[[ResizeIncrement]] |d10=The increment of which the part is resized when resized in the ROBLOX studio resize tool.
 
βˆ’
|v11=[[ResizableFaces]] |d11=Which axis' are resizable
 
βˆ’
|v12=Vector3 [[RotVelocity]] |d12=The rotation velocity of the brick
 
βˆ’
|v13=[[Shape]] |d13=Determines the shape of a part (i.e. sphere, cylinder)
 
βˆ’
|v14=Vector3 [[Size]] |d14=The size of the part
 
βˆ’
|v15=Number [[Transparency]]|d15=The transparency of the part (0-1)
 
βˆ’
|v16=Vector3 [[Velocity]] |d16=The velocity of the part
 
βˆ’
|v17=[[formFactor]] |d17=Chooses basic template for ResizeIncrement, and ResizableFaces.}}
 
βˆ’
|{{VarList
 
βˆ’
|v1=[[BreakJoints]]|d1=Breaks any joints attached to the part
 
βˆ’
|v2=Number [[GetMass]]|d2=Gets the mass of the part, return number
 
βˆ’
|v3=[[MakeJoints]] |d3=Makes connective joints to all touching parts
 
βˆ’
|v4=[[Clone]] |d4=Clones
 
βˆ’
|v5=[[Remove]] |d5=Removes
 
βˆ’
|v6=Boolean [[IsA]] |d6=Shows the className of, return true/false
 
βˆ’
|v7=[[GetChildren]] |d7=Gets the children of
 
βˆ’
|v8=[[FindFirstChild]]|d8=Finds the first child given - findFirstChild(name of child)
 
βˆ’
|v9=String [[GetFullName]] |d9=Returns the path of the object, excluding the Game object
 
βˆ’
|v10=Boolean [[IsAncestorOf]] |d10=If the object is a parent of, return true/false
 
βˆ’
|v11=Boolean [[IsDescendantOf]] |d11=If the object is a child of, return true/false
 
βˆ’
}}
 
βˆ’
}}
 
 
[[Category:Lua Instance Objects]]
 
[[Category:Lua Instance Objects]]

Revision as of 19:11, 1 December 2012