for (Spatial point : node.getChildren()) {
Vector3f worldTranslation = point.getWorldTranslation();
Apple apple = (Apple) entityManager.create(Entity.APPLE);
apple.getSpatial().setLocalTranslation(worldTranslation.add(0, -15f, 0));
apple.finalise();
rootNode.attachChild(apple.getSpatial());
currentLevel.getAllEntities().add(apple);
}
}
}