code: private static GVRWorld getWorldFromAscendant(GVRSceneObject worldOwner) {
          GVRComponent world = null;
  
          while (worldOwner != null && world == null) {
              world = worldOwner.getComponent(GVRWorld.getComponentType());
              worldOwner = worldOwner.getParent();
          }
  
          return (GVRWorld) world;
      }
docs: Looks for {@link GVRWorld} component in the ascendants of the scene.
  
  @param worldOwner Scene object to search for a physics world in the scene.
  @return Physics world from the scene.