title: Flutter Arkit Model Size
body: <p>i have a problem with ar_flutter_plugin specially in Model Size , not the same size as android , i don't know really why !!</p>
  <pre><code>func makeNodeFromWebGlb(name: String, modelURL: String, transformation: Array&lt;NSNumber&gt;?) -&gt; Future&lt;SCNNode?, Never&gt; {
      return Future {promise in
          var node: SCNNode? = SCNNode()
          
          let handler: (URL?, URLResponse?, Error?) -&gt; Void = {(url: URL?, urlResponse: URLResponse?, error: Error?) -&gt; Void in
              // If response code is not 200, link was invalid, so return
              if ((urlResponse as? HTTPURLResponse)?.statusCode != 200) {
                  print(&quot;makeNodeFromWebGltf received non-200 response code&quot;)
                  node = nil
                  promise(.success(node))
              } else {
                  guard let fileURL = url else { return }
                  do {
                      let paths = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
                      let documentsDirectory = paths[0]
                      let targetURL = documentsDirectory.appendingPathComponent(urlResponse!.url!.lastPathComponent)
                      
                      try? FileManager.default.removeItem(at: targetURL) //remove item if it's already there
                      try FileManager.default.copyItem(at: fileURL, to: targetURL)
                      do {
                          let sceneSource = GLTFSceneSource(url: targetURL)
                          let scene = try sceneSource.scene()
                          for child in scene.rootNode.childNodes {
                         //    child.scale = SCNVector3(0.01,0.01,0.01) // Compensate for the different model dimension definitions in iOS and Android (meters vs. millimeters)
                             child.scale = SCNVector3(1.0,1.0,1.0)        
                             child.light = SCNLight()
                             child.light!.type = .directional
                             // child.light!.temperature = CGFloat(5000)
                             child.light!.intensity = CGFloat(600)
                             node?.addChildNode(child)
                          }
                          node?.name = name
                          if let transform = transformation {
                              node?.transform = deserializeMatrix4(transform)
                          }
  
                      } catch {
                          print(&quot;\(error.localizedDescription)&quot;)
                          node = nil
                      }
                      // Delete file to avoid cluttering device storage (at some point, caching can be included)
                      try FileManager.default.removeItem(at: targetURL)
                      promise(.success(node))
                  } catch {
                      node = nil
                      promise(.success(node))
                  }
              }
              
          }
          
  
          let downloadTask = URLSession.shared.downloadTask(with: URL(string: modelURL)!, completionHandler: handler)
          
          downloadTask.resume()
          
      }  
  }
  </code></pre>
  <p>here is an image for size iphone vs android , i tried before and change scale from 0.01 to 1.0 to childs because it was very small , now its large but not the same real !!
  <a href="https://i.stack.imgur.com/OKThb.png" rel="nofollow noreferrer">image</a></p>