Hi there, I am trying to make a sphere out of a bunch of parts.
Something like that, how would I make a part even from the center and every other part. I am not that great at using math for this, so help would be much appreciated.
UPDATE:
I got a sphere using parts, but there is a MAJOR problem with what I want to do. In the picture sent above, the green points are all equally distant from each other. But when I make the sphere, the points are not equally distant from each other.
Gyazo video: https://i.gyazo.com/7ce019d54efd339a37cfae3b80d611b9.mp4
any way I could change this?
Script
local Main = game.Workspace:WaitForChild("MainSphere")
local Folder = game.Workspace:WaitForChild("VertexFolder")
for y = -180,180,4 do
for x = -180,180,4 do
Main.Orientation = Vector3.new(x,y,0)
local Vertex = Main:Clone()
Vertex.Position = Main.Position + Main.CFrame.LookVector * 5
Vertex.Size = Vector3.new(0.05,0.05,0.05)
Vertex.Color = Color3.new(1, 0.411765, 0.419608)
Vertex.Parent = Folder
end
end