/** * Batch this batchNode every geometry of the sub scene graph of this node will be batched into a * single mesh that will be rendered in one call */ public void batch() { doBatch(); // we set the batch geometries to ignore transforms to avoid transforms of parent nodes to be // applied twice for (Batch batch : batches.getArray()) { batch.geometry.setIgnoreTransform(true); batch.geometry.setUserData(UserData.JME_PHYSICSIGNORE, true); } updateGeometricState(); }