Is there a way to retrieve the global position of an Object3D nested inside another Object3D?
scenario:
var parent = new THREE.Object3D();
parent.position.set(100, 100, 100);
var child = new THREE.Object3D();
child.position.set(100, 100, 100);
parent.add(child);
scene.add(parent);
remarks:
I initially attempted to achieve this using:
console.log(child.localToWorld(parent.position));
...however, the result was (100, 100, 100) instead of the expected (200, 200, 200).