title: Scene Kit Scale Model
body: <p>I am trying to build a Tower Defense game in SceneKit. I am adding a model into my tile on map, but it is never created in correct position. I use a custom model and scale it.</p>
  
  <p><img src="https://i.stack.imgur.com/Xz0as.png" alt="enter image description here"></p>
  
  <pre><code>+ (BasicAttackTower *)CreateTower { // return a single tower
      SCNScene * towerScene = [SCNScene sceneNamed:@"basicattacktower.dae"];
      SCNNode * node =[towerScene.rootNode childNodeWithName:@"SketchUp" recursively:NO ];
      SCNAction * action = [SCNAction rotateByX:0 y:0 z:10 duration:1];
      SCNAction * repeatAction = [SCNAction repeatActionForever:action];
      for(int i=1;i&lt;[node.childNodes count]-1;i++){
          [[node.childNodes objectAtIndex:i] runAction:repeatAction];
      }
  
      node.scale = SCNVector3Make(0.04, 0.04, 0.04);
      BasicAttackTower * tower = [BasicAttackTower node];
      [tower addChildNode:node];
      return tower;
  }
  
  - (void)AddTower:(Tower *)tower {// add tower on tile 
      tower.position = SCNVector3Make((self.position.x), (self.position.y), 2);
      [self addChildNode:tower];
      self.towerOnTile = tower;
  }
  </code></pre>