pivots[index].setScale(objChange.getLocalScale()); pivots[index].setRotationQuaternion(objChange.getLocalRotation());
    public void setObject(Spatial objChange, int index, int parentIndex) {        toChange[index] = objChange;        pivots[index].setTranslation(objChange.getLocalTranslation());        parentIndexes[index] = parentIndex;    }