Thanks for checking that it should work! It seems that my problem comes from me trying to change the position with obj3D.position.add(x, y), which obviously doesn't actually update the position correctly. But it's still strange that the function returns the other object's value, isn't it?
/David
