I have this code..
function makeSpiral(numOfParts)
local lastpart
for i=1, numOfParts do
local Part = Instance.new("Part", game.Workspace)
Part.BrickColor = BrickColor.White()
Part.BottomSurface = Enum.SurfaceType.Smooth
Part.TopSurface = Enum.SurfaceType.Smooth
Part.Anchored =true
if not lastpart then
Part.CFrame = CFrame.new(0,0,0)
lastpart = Part
elseif lastpart then
Part.CFrame = lastpart.CFrame * CFrame.new(-i,0,i) * CFrame.fromEulerAnglesXYZ(0,1,0)
Part.Size = Vector3.new(i,(0.5 * i),i)
lastpart = Part
end
end
end
function makeTrig()
local lastpart
for i=1, 3 do
local Part = Instance.new("Part", game.Workspace)
Part.Anchored = true
Part.BrickColor = BrickColor.White()
Part.BottomSurface = Enum.SurfaceType.Smooth
Part.TopSurface = Enum.SurfaceType.Smooth
if not lastpart then
Part.CFrame = CFrame.new(0,0,0)
lastpart = Part
elseif lastpart then
Part.CFrame = lastpart.CFrame * CFrame.new(2,0,0)
end
end
end
The first makes some spirals, and the second is supposed to make a triangle for some reason it's not an I have no Idea, this is where I get confused, what do I do? Add Vector3 or multiply with CFRame? it's very confusing here?

3 comments
Also: https://en.wikipedia.org/wiki/Euclidean_vector https://en.wikipedia.org/wiki/Matrix_(mathematics) https://en.wikipedia.org/wiki/Transformation_matrix
Whoops wasn't aware of such
Woah thanks