spatial.setLocalScale(scale); spatial.setLocalRotation(rot); spatial.setLocalTranslation(translation);
spatial.getLocalScale().set(scale); spatial.getLocalRotation().set(rot); spatial.getLocalTranslation().set(translation);
    public void applyToSpatial(Spatial spatial) {        spatial.setLocalScale(scale);        spatial.setLocalRotation(rot);        spatial.setLocalTranslation(translation);    }