So, I used this tutorial on a simple building system. I have been playing around with it, trying to learn about it. But i have a question, how would you make an object go underground? Obviously, the “preview part” (the part you see before you actually place the object) has to stop when it sees a part or something so it can place on top of things, so couldn’t you just lower that for certain objects?
I have tried to use Mouse.TargetFilter = workspace.Baseplate, and put another part under, but that makes the preview part go toward the camera.
i also noticed that cancollide set to false allows for the part to go through, but I dont want players falling through the ground tho
this also makes another problem that i forgot would happen.
is there any way to cut pieces of a large part out when a model is there?
for example, i have this trench i built quickly to test with, but when i put it in the ground, the baseplate obviously will just fill it in.
Ok so basically i have this trench model that when you put down goes into the ground, like i wanted it to.
but when I spawn it, the ground covers it and you are not able to go in
is there any possible way to stop the ground from covering up the trench, and make it open to get into?
Only way I think this is possible would be by dividing the floor into chunks that are singular parts, and when you add the trench destroy the part (very hard, I know)
Or if it’s even possible use Unions