two objects in the scene. the cube rotate axis should be the cube\'s center,th
If there are multiple meshes (which is most common), set the position of the parent node in the scene graph to achieve the goal of centering the model. If the scene graph is like this gltfObject -> childObject ->.. -> array of meshes
const bbox = new THREE.Box3().setFromObject( gltfObject );
const offset = new THREE.Vector3();
bbox.getCenter(offset).negate();
childObject.position.set(offset.x, offset.y, offset.z);