getBatch(batchIndex1).getCollisionTree().worldBounds); getBatch(batchIndex1).getCollisionTree().intersect( (toCheck.getBatch(batchIndex2)).getCollisionTree(), thisIndex,
myTree.worldBounds); myTree.intersect( otherTree, thisIndex,
    public void findTriangleCollision(TriMesh toCheck, int batchIndex1, int batchIndex2,            ArrayList<Integer> thisIndex, ArrayList<Integer> otherIndex) {        if (getBatch(batchIndex1).getCollisionTree() == null                || (toCheck.getBatch(batchIndex2)).getCollisionTree() == null)            return;        else {            getBatch(batchIndex1).getCollisionTree().bounds.transform(                    worldRotation, worldTranslation, worldScale,                    getBatch(batchIndex1).getCollisionTree().worldBounds);            getBatch(batchIndex1).getCollisionTree().intersect(                    (toCheck.getBatch(batchIndex2)).getCollisionTree(), thisIndex,                    otherIndex);        }    }