- Home /
Remove part of a mesh or points of pointcloud
Hi, I'm trying to make drilling simulation in Unity Engine. As a drill moves and touches some material, part of intersection should be removed. Drilling tool and material can be imported as either 3-D cad file or point cloud(.off) data.
I tried making this project using point cloud. If the position of points of drill is the same as those of material, those points are removed from the list of points and recreate the point cloud mesh. But I failed to make this program.
Is it possible to remove part of a mesh or points of point cloud? Any method is fine.
Answer by mgear · Sep 14, 2021 at 05:28 AM
try brute force first:
Have collider on your drill
Loop each point if its inside the collider (or optionally just check from bounding box)
If yes, remove or move the point outside the collider