You can use Object3D.getWorldPosition() to get the position of obj3
in world space.
obj3.getWorldPosition( someOtherObject.position );
Notice how the position vector of someOtherObject
is applied as a parameter. This memory-friendly approach avoids the instantiation of a result object. The position data are directly written to the someOtherObject.position
vector.