public void initWall() {
    float startX = brickLength / 4;
    float height = 0;
    for (int j = 0; j < 15; j++) {
      for (int i = 0; i < 6; i++) {
        Vector3f vt =
         new Vector3f(i * brickLength * 2 + startX, brickHeight + height, 0);
        makeBrick(vt);
      }
      startX = -startX;
      height += 2 * brickHeight;
    }
  }
This loop builds a wall out of individual bricks.
jme3-examples/src/main/java/jme3test/helloworld/HelloPhysics.java