ModelBuilder builder = new ModelBuilder();
Model xyzModel = builder.createXYZCoordinates(10, new Material(), Usage.Position|Usage.ColorPacked),
planeModel = builder.createLineGrid(10, 10, 1, 1, new Material(ColorAttribute.createDiffuse(Color.WHITE)), Usage.Position);
models.add(xyzModel);
models.add(planeModel);
xyzInstance = new ModelInstance(xyzModel);
xzPlaneInstance = new ModelInstance(planeModel);
xyPlaneInstance = new ModelInstance(planeModel);
xyPlaneInstance.transform.rotate(1f, 0f, 0f, 90f);
setDrawXYZ(true);
setDrawXZPlane(true);