Converting Parts into Terrain?

I mean yeah prob, should i add to size? Like 10 every axis?

Alr

Try just 1 on the slim axis, the X

1 Like

It worked but like:
image
You see the dots or is it just me?

snippet from some code of mine, where w1 and w2 are wedges, hopefully you can adapt it

	if TERRAIN then
			local success, err = pcall(function()
				if value.water then
					Terrain:FillWedge(w1.CFrame,w1.Size+Vector3.new(5,4,4),Enum.Material.Water)
					Terrain:FillWedge(w2.CFrame,w2.Size+Vector3.new(5,4,4),Enum.Material.Water)
				elseif value.coast then
					Terrain:FillWedge(w1.CFrame,w1.Size+Vector3.new(5,4,4),Enum.Material.Sand)
					Terrain:FillWedge(w2.CFrame,w2.Size+Vector3.new(5,4,4),Enum.Material.Sand)
				else
					Terrain:FillWedge(w1.CFrame,w1.Size+Vector3.new(5,4,4),Enum.Material.Grass)
					Terrain:FillWedge(w2.CFrame,w2.Size+Vector3.new(5,4,4),Enum.Material.Grass)
				end
			end)
		end
1 Like

the reason i added extra values to the size vectors was to reduce dots/holes like you’ve seen already, assuming those holes arise by the same reason

1 Like

Works on surface! Although i got another problem:

Yeah, underwater it doesn’t look too good sadly

1 Like

Oops, perhaps the triangles are simply too small or something? I’m really not sure what’d cause that :sweat_smile:

1 Like

Maybe ill try changing some values… Im gonna test if it works normally without convert underwater too, maybe its just the code

Works good without the convert function

Yep changed values worked perfectly!

v.Size+Vector3.new(20,20,20)
1 Like

Hi do you know if there’s a script I can put in the command bar to turn parts that are named a certain thing to terrain? Like “Grass Block” and turn it into roblox terrain grass?