Hello! I’m having some trouble painting terrain under a part. Here is what I want to acheive:
The problem is, Terrain
only has a :FillSphere
method, but not a paint one. I don’t want the dirt to be higher/lower than the grass around it.
I did some research and I found that there is a method, Terrain:ReplaceMaterial
, however as far as I know region3’s can only be rectangular prisms.
I developed a hacky way to solve it, but the mud is still higher elevation:
-- Replace grass with mud using terrain
workspace.Terrain:FillCylinder(tree:GetPivot() - Vector3.new(0, 4, 0), 0, 5, Enum.Material.Mud)
Any help would be appreciated!!