MinieLibrary/src/main/java/com/jme3/bullet/PhysicsSpace.java
/**
     * Add all physics controls in the specified subtree of the scene graph to
     * this space (e.g. after loading from disk). For compatibility with the
     * jme3-bullet library.
     * <p>
     * Does not add any joints.
     * <p>
     * Note: recursive!
     *
     * @param spatial the root of the subtree (not null)
     */
Add all physics controls in the specified subtree of the scene graph to
this space . For compatibility with the
jme3-bullet library.

Does not add any joints.

Note: recursive!

@param spatial the root of the subtree (not null)
Add all physics controls in the specified subtree of the scene graph to this space . For compatibility with the jme3 - bullet library . Does not add any joints . Note : recursive! @param spatial the root of the subtree ( not null )
public void addAll(Spatial spatial) {
        add(spatial);
        if (spatial instanceof Node) {
            List<Spatial> children = ((Node) spatial).getChildren();
            for (Spatial child : children) {
                addAll(child);
            }
        }
    }
public void addAll ( Spatial spatial ) { add ( spatial ) ; if ( spatial instanceof Node ) { List < Spatial > children = ( ( Node ) spatial ) . getChildren ( ) ; for ( Spatial child : children ) { addAll ( child ) ; } } }
Add all physics controls in the specified subtree of the scene graph to
 this space (e.g.
Add all physics controls in the specified subtree of the scene graph to this space ( e . g .
//recursion