I want to achieve one:
-
Create a pipeline model
-
When the pipe model is inserted into any part of the terrain, the inserted center area deletes the corresponding vertex so that the inserted center is empty and not rendered (like the mouth of a tunnel).
-
Currently I use pick() to get terrain pickResult.pickedMesh?.getIndices() Vertex index sumpickResult.pickedMesh?.getFacetLocalPositions() Vertex XYZ
-
But then I don’t know how to filter the pipe into the central area of the terrain and operate on the vertex of the central area