Glorpia Docs
Instances

Part

The general-purpose physical building block in Glorpia.

Inheritance

Part is a BasePart, so it uses all BasePart transform, geometry, appearance and physics properties.

Defaults when created by script

NameTypeDescription
SizeVector34, 1, 2
ShapeEnum.PartShapeBlock
Bevelnumber0
ShadeSmoothbooleantrue
Detailinteger8
Anchoredbooleantrue
CanCollidebooleantrue

Shapes

Parts support Block, Ball, Cylinder, Wedge and CornerWedge geometry through Shape.

Luau
local wedge = Instance.new("Part")
wedge.Shape = Enum.PartShape.CornerWedge
wedge.Size = Vector3.new(6, 4, 6)
wedge.Parent = workspace

Example: Create A Platform

Create the Part first, configure it while it is unparented, then parent it into Workspace.

Luau
local platform = Instance.new("Part")
platform.Name = "Platform"
platform.Size = Vector3.new(12, 1, 8)
platform.Position = Vector3.new(0, 4, 0)
platform.Colour = Colour3.fromRGB(90, 120, 255)
platform.Anchored = true
platform.Parent = workspace