How i can make perfect floor system with triangles like blox burg and roville

Hi.

I really need help I have been suffering from this problem for days.

I’m trying to make the Floor form according to the direction of the points.

[sketch about the floor triangles how i make it]

local function GetDetails(x):() -- function: Important points for create new triangle
	local PointChildren = Points:GetChildren() -- getting all point that sends

	local a,b,c
	a=PointChildren[x] -- Point just created
	b=PointChildren[1] -- the first point
	c=PointChildren[x-1] -- Last Point
	
	return a,b,c
end

-- x is number that where the point should be

--[[
 here example about x and what is x

for x, Triangles in ipairs(Points:GetChildren()) do
		local a,b,c = GetDetails(x)
-- you don't need to see all the script just that enought i think.
	end
]]

So when I try this is what happens:

like i said i just wanna make the Floor form according to the direction of the points.

[what i want to be.]

1 Like

I think my problems are very difficult to solve because this is the second time no one responds :face_with_spiral_eyes:

1 Like

maybe try to update both triangles

After hours of trying to figure this out, I can’t. It seems that it evolves math that I don’t understand. I found this post that might help: Creating a floor building system

I hope you find your solution and have a good day.

1 Like

it’s good! but not like what i want thank you for helping me.

image

nvm i did it!
it’s now so good i just learn from some web how i can found ear
I had to name them to work.

Thank you for helping me

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.