Cross-sections of OBJ in three.js using ThreeCSG
I'm trying to make cross-sections of an OBJ loaded with the three.js OBJ loader using the threeCSG wrapper for the JavaScript constructive solid geometry library. When I use a regular mesh (like a sphere/cube), the intersection csg operation works beautifully. I can also make great-looking cross-sections with an obj in its initial position (white object, cross-section displayed in red below): However, when I rotate the object, the cross-section is the same no matter how I change its rotation: How can I get the csg intersection operation to take into account the rotation of the object? It works