title: Babylon.js OBJ Loader Assigning materials by IDs
body: <p>I have <strong>single</strong> OBJ file with different elements with <strong>unique IDs</strong>.
  Have to load this model to Babylon.js with re-assigning materials
  by these IDs. </p>
  
  <pre><code>OBJ
  |
  |- Head
  |- Body
  |- RightLeg
  |- LeftLeg
  |
  |...
  
  material1 for Head
  material2 for Body
  ...
  </code></pre>
  
  <p>I know how to do it in THREE.JS, but for Babylon.JS I didn't find
  any solution.</p>
  
  <p>Similar to THREE.JS code:</p>
  
  <pre><code>loader.load( OBJ_URL, function ( object ) {
  
        object.traverse( function ( child ) {
  
            if ( child instanceof THREE.Mesh ) { 
  
                 if(child.name == "{name}" ) { assign material }
  
            }
  
        } );
  
  }, onProgress, onError );
  </code></pre>