No edit summary |
No edit summary |
||
(39 intermediate revisions by 26 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{Stub}} |
||
− | A part is one of the most common objects in Roblox. It is also known as a brick, but it is technically referred to as a 'Part'.[[File:Brick.png|thumbnail|frame|A typical Part]] |
||
+ | {{Infobox class| explorer order = 11}} |
||
+ | A building block - the fundamental component of Roblox. |
||
− | == |
+ | == Properties == |
− | {{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]] |
||
− | |v6=Number [[Friction]] |
||
− | |v7=Boolean [[Locked]] |d7=Determines whether the select tool can be used on this part |
||
− | |v8=[[Material]] |
||
− | |v9=Number [[Reflectance]] |d9=The reflectance of the part (0-1) |
||
− | |v10=[[ResizeIncrement]] |
||
− | |v11=[[ResizableFaces]] |
||
− | |v12=Vector3 [[RotVelocity]] |
||
− | |v13=[[Shape]] |
||
− | |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]]}} |
||
− | |{{VarList |
||
− | |v1=BreakJoints|d1=Breaks any joints attached to the part |
||
− | |v2=Number GetMass|d2=Gets the mass of the part |
||
− | |v3=MakeJoints |
||
− | |v4=Resize}} |
||
− | }} |
||
+ | |||
− | ==Test== |
||
+ | === {{property|name=Shape|type=PartType}} === |
||
− | {{:ObjectData:Part}} |
||
+ | |||
− | [[Category:Lua Instance Objects]] |
||
+ | == External links == |
||
+ | |||
+ | * {{DevHub class link}} |
||
+ | * {{Roblox API Reference class link}} |
||
+ | [[Category:Pages that need to be improved]] |
Revision as of 15:26, 24 December 2019
Stub
This article is a stub. You can help the Roblox Wiki by expanding it.
A building block - the fundamental component of Roblox.
Properties
Shape: PartType
External links
- Part in the Roblox Creator Documentation
- Part in the Roblox API Reference