public Spatial getChild(String name) {
        if (name == null) {
            return null;
        }

        for (Spatial child : children.getArray()) {
            if (name.equals(child.getName())) {
                return child;
            } else if (child instanceof Node) {
                Spatial out = ((Node) child).getChild(name);
                if (out != null) {
                    return out;
                }
            }
        }
        return null;
    }
<code>getChild</code> returns the first child found with exactly the
given name (case-sensitive). This method does a depth-first recursive
search of all descendants of this node, it will return the first spatial
found with a matching name.

@param name
           the name of the child to retrieve. If null, we'll return null.
@return the child if found, or null.
jme3-core/src/main/java/com/jme3/scene/Node.java