private void printCollisions(CollisionResults cr) {
        System.out.println("================ Collision Results ================");
        for (int i = 0; i < cr.size(); i++) {
            CollisionResult res = cr.getCollision(i);
            System.out.println("Result " + i);
            System.out.println("\t\t" + res.toString());
        }
        System.out.println("================ END Collision Results ================");
    }
Creates a terrain object and a collision node to go with it. Then
drops several balls from the sky that collide with the terrain
and roll around.
Left click to place a sphere on the ground where the crosshairs intersect the terrain.
Hit keys 1 or 2 to raise/lower the terrain at that spot.

@author Brent Owens
jme3-examples/src/main/java/jme3test/terrain/TerrainTestCollision.java