Apologies if this question is a duplicate; I’ve looked at existing similar questions, but they seemed to address different problems. Also, I’m new to Babylon, especially on the graphics end of it, so please be patient with me if able.
What I’m trying to do is make a “cutout” of a mesh that can be moved around in real time- not making a new subtracted mesh. Think cutting a hole in a table, and then being able to drag that hole around to different places on the table’s surface.
For more complex meshes you might want to csg subtract only once, select those vertices of the hole and just update their positions in a drag observable (however this will fail if you move the hole at the edges of the table). Another option is using a shader to create a hole, however that won’t show the vertical faces of the hole.