Hello everyone.
I’m making plow vehicle and I want to know how I can make so if plow touches the terrain it deletes it. I know about Region3 but I can’t figure out if part touches the terrain it deletes. Any recommendation what I can do?
Hello everyone.
I’m making plow vehicle and I want to know how I can make so if plow touches the terrain it deletes it. I know about Region3 but I can’t figure out if part touches the terrain it deletes. Any recommendation what I can do?
Hello, there is a way, but i strongly recommend you to check this article first:
As you thought, region 3 is a good way to do it.
I didn’t script terrain yet,so i can’t help you furthermore, but i know it is possible.
first you will need a part for the hitbox to clear the terrain and use the FillBlock statement use it in the air so that it can substract terrain i dont think region3 comes here
I’m unsure if .Touched
works on Terrain, but if it does, what you can do is everytime the part is touched and it is touched by Terrain, you get the region3 of the part that handles touch events and fill that region with air via FillBlock
, since the parameters for it is the CFrame, the Size of the Regino, and the material you want to fill the region with, the first two you can get fro mthe part itself and the 3rd is just an Enum
Hello, Touched event works on terrain,yes and I did that. I just used Part that is touching the Terrain CFrame and Size to fill terrain with air. Thanks for the help.
Anytime! Sorry if I was bit late on answering that since I was a bit unsure myself, but glad you eventually reached a conclusion! If you have anymore issues don’t be afraid to make another post!