I want to make a bullet hole where you can see through the wall. I know there is a way to create unions and then negate a part from it, but I don’t think you can do that multiple times with a script. Is there any way I can efficiently and easily do this?
if want to punch a hole in a wall, you can use a marching cubes algorithm to find the minimum parts needed to remake the wall but with that chunk missing. You can keep it as one part until its destroyed, and then subdivide where and when its needed.
1 Like
This is just a theory, but it might work.
You can calculate the trajectory of the bullet and make a long cylinder that starts at the bullet’s firing point and ends at the end of its trajectory.
Then you can negate that cylinder and union it with the walls the bullet goes through.
1 Like