title: Sprite kit how to fix moving the camera?
body: <p>I tried to bind the camera on my player, with this code:</p>
  
  <pre><code>-(void)didSimulatePhysics {
      [self centerOnNode: player];
  }
  
  -(void)centerOnNode: (SKNode *) node {
      CGPoint cameraPositionInScene = [node.scene convertPoint:node.position fromNode:node.parent];
  node.parent.position = CGPointMake(node.parent.position.x - cameraPositionInScene.x, node.parent.position.y - camerapositionInScene.y);
  }
  </code></pre>
  
  <p>but nothing happens except of getting output like this:</p>
  
  <pre><code>Setting the position of a SKScene has no effect.
  2014-03-22 16:55:35.604 Jelly Jumper [5801:90b] SKScene:
  Setting the position of a SKScene has no effect.
  2014-03-22 16:55:35.753 Jelly Jumper [5801:90b] SKScene:
  Setting the position of a SKScene has no effect.
  2014-03-22 16:55:35.907 Jelly Jumper [5801:90b] SKScene:
  </code></pre>