AFrame: position offset units when adding new Object3D to the current one
问题 I'm trying to add an Object3D to my gltf model and place it above the model. I'm doing it the following way: this.el.addEventListener('model-loaded', () => { this.bar = new MyCustomObject3D(); const size = new THREE.Vector3(); let box = new THREE.Box3().setFromObject(this.el.object3D); box.getSize(size) let height = size.y + 1; this.bar.position.set(0, height, 0); this.el.setObject3D("bar", this.bar); // same result: // this.el.object3D.add(this.bar); }) The height is 2 and if I placed an