How would I turn a part to terrain water

okay so I cant do that i need to be a part of somthing

no no no not terrian editor again the parts change in script terrain editor wont work

whats it called? an this is to do in script

I think I found it terrain tools convert part to terrain

So you want to convert them to terrain after the terrain has been generated?
If so use: Terrain:FillBlock() for it.

3 Likes

but I still need to enable the beta terrain thing?

To use the code Terrain:FillBlock you don’t need it. Is for scripts, but if you prefer to do it with the Terrain Editor Tool, then enable the feature.

1 Like

Try usng Terrain:FillBlock()

Here’s a small sample of code

local CFrameToFill = CFrame.new(0, 0, 0)
local WaterSize = Vector3.new(20, 20, 20)
game.Workspace.Terrain:FillBlock(CFrameToFill, WaterSize, Enum.Material.Water)

We also have an article made by Roblox explaining how to use it

2 Likes

I tried it and its not working what am I doing wrong?

Would there be any output error? Show me where you defined ‘part’

nope no error well no output every thing works fine but the water just doesent spawn in

strong text

What is yPos? Are you sure that the code is running? You did not define a position for the part so it would instance at the game’s origin 0,0,0.

ahh wait the size {caracter limit}

Mind showing me the full code so I can analyse it easier?

I think its beacuse the size and position is set the very last

1 Like

Yeah set that to the top before you fill the block.

1 Like

I just deleted the code so others cant steal it

Also, what’s ‘grid’ defined as? Are you perhaps trying to make a checkered board?

HA thanks for helping me

1 Like