In the course of my game development, I encountered the need to cut through complex terrain through objects held by the player. By looking up the information, I learned that the bool operation in blender can achieve this effect, and babylon has a CSG library to achieve this function. The end result, from a functional point of view, is achieved. However, in terms of efficiency, when using a complex model for BOOL operation, Babylon will be directly stuck, and the time of operation will change with the complexity of the model. This has a significant impact on the user’s experience. I don’t know if there’s an optimization or other solution to achieve the same effect. It is important to know that in bool operations, union, difference, and intersection may be used.
I need your help, thank you in advance.
This thread is also about slowness of CSG: