private static Transform newTransform(float tx, float ty, float tz, float rx, float ry, float rz, float sx, float sy, float sz) { Transform t = new Transform(); t.loadIdentity(); t.setRotation(new Quaternion().fromAngles(rx, ry, rz)); t.setScale(sx, sy, sz); t.setTranslation(tx, ty, tz); return t; } }