问题
I have two separate obj.s - a sink and a board (the top of a bathroom-cupboard). The sink needs to be placed on top of the board, like this: http://www.farline.cz/orig-image/364470b4db.jpg?c=NS0xNDkzMjk2MjIy (just an examle from image-search)
However, of course, both objects overlap, so the board is still there where the hole of the sink is supposed to be. Using a boolean to subtract the sink from the cupboard isn't enough, because it won't cut out the hollow space.
What options do I have to go about this? Is there a way to have the sinkhole considered a part of the boolean that cuts away from the cupboard?
Btw. this needs to be done with several sinks of various shapes and measurements. I considered adding an invisible cube with the same measurements as the sink to substract its mass from the board, but it's a highly suboptimal solution (for it'd need to be redone for every sink individually + some sinks have round shapes).
来源:https://stackoverflow.com/questions/53834360/subtracting-a-3d-sink-from-a-3d-cupboard-board-in-threejs