Part
A basic 3D primitive used for physics, collision, and world building.
Properties
| Property | Type | Default |
|---|---|---|
Position | Vector3 | Vector3.new(0, 10, 0) |
Size | Vector3 | Vector3.new(4, 4, 4) |
Color | Color3 | Color3.new(1, 1, 1) |
Material | EnumItem | Enum.Material.debug |
Transparency | number | 0 |
Anchored | boolean | true |
NeonEnergy | number | 5.0 |
CanCollide | boolean | true |
CollisionGroup | string | "Default" |
Velocity | Vector3 | Vector3.new(0, 0, 0) |
MeshScale | number | 1 |
Mass | number | 1 |
Restitution | number | 0.5 |
Elasticity | number | 0.5 |
Friction | number | 0.3 |
Shape | EnumItem | Enum.PartType.Block |
CastsShadow | boolean | true |
Reflectance | number | 0 |
Locked | boolean | false |
Orientation | Vector3 | Vector3.new(0, 0, 0) |
Rotation | Vector3 | Vector3.new(0, 0, 0) |
MouseOverObject | boolean | false |
CFrame | CFrame | CFrame.new(0, 10, 0) |
ElapsedTime | number | 0 |
Name | string | "Part" |
_mesh | any | nil |
AssemblyAngularVelocity | Vector3 | Vector3.new(0, 0, 0) |
AssemblyCenterOfMass | Vector3 | Vector3.new(0, 0, 0) |
AssemblyLinearVelocity | Vector3 | Vector3.new(0, 0, 0) |
AssemblyMass | number | 0 |
AssemblyRootPart | any | nil |
NetworkOwnerType | EnumItem | Enum.MachineNetworkOwner.Server |
Functions
syncFromCFrame
Arguments
cfReturns
This function returns nothing.
syncFromPosition
Arguments
positionReturns
This function returns nothing.
propTable.ApplyImpulse
Applies physics impulse.
Arguments
self: table, v: Vector3Returns
This function returns nothing.
API
instance:syncFromCFrame(cf)
instance:syncFromPosition(position)
instance:ApplyImpulse(self: table, v: Vector3)