code: private void removeObjectId(int dtx, int dty)
      {
          final int tw = transformable.getWidth() / map.getTileWidth();
          final int th = transformable.getHeight() / map.getTileHeight();
          for (int tx = dtx; tx < dtx + tw; tx++)
          {
              for (int ty = dty; ty < dty + th; ty++)
              {
                  if (mapPath.getObjectsId(tx, ty).contains(id))
                  {
                      mapPath.removeObjectId(tx, ty, id);
                  }
              }
          }
      }
docs: Remove the map object id of the pathfindable.
  
  @param dtx The tile horizontal destination.
  @param dty The tile vertical destination.