Hi All, thanks in advance for any advice, I’m a complete Three.JS noob but a relatively experienced coder and I’m familiar with 3d.
I’d like to know what the best approach to solving this problem. I’d like to generate some custom geometry, basically the custom geometry I’m trying to generate needs to be similar to a cardboard box. So a box, but with the front or top of the box having flaps that open.
I’d also like to be able to animate the box so that it opens and closes, I’d ideally like to generate dozens of these with variable height, depth, etc
I’ve looked into using BufferGeometry and setting a bunch of vertices, but I’m not familiar with the limitations of creating geometry this way. Will I for instance be able to create a buffer geometry object with the top panels and then in that same function rotation axises for the box to be able to open and close? Or is there some other approach that I’m not even familiar with?
.