问题
I'm trying to draw a boundingbox around a skinned model:
const box = new THREE.BoxHelper(trooper, 0xff0000);
scene.add(box);
https://jsfiddle.net/66sor15y/4/
As you see the model doesn't fit the bounding box. I filed an issue to understand the problem, but I still have issues drawing the actual box.
https://github.com/mrdoob/three.js/issues/13989
Any help would be highly appreciated!
来源:https://stackoverflow.com/questions/50173778/three-js-draw-bounding-box-around-skinnedmesh