title: How to make a node to rotate around a point outside of the node in a spritekit game project
body: <p>I came across this answer, but the answer is not clear to me. Can someone provide some sample code?</p>
  
  <p>Create an SKNode and set its position to the center of rotation. Add the node that should rotate around that center as child to the center node. Set the child node's position to the desired offset (ie radius, say x + 100). Change the rotation property of the center node to make the child node(s) rotate around the center point. </p>
  
  <p>Specifically, "Change the rotation property of the center node" to what?</p>
  
  <pre><code>var centerNode: SKSpriteNode = SKSpriteNode(imageNamed: "image1")
  centerNode.position = CGPointMake(self.frame.width/2, self.frame.height/2)
  self.addChild(centerNode)
  
  var nodeRotateMe: SKSpriteNode = SKSpriteNode(imageNamged: "image2")
  nodeRotateMe.position = CGPointMake(self.frame.width/2 + 100, self.frame.height/2 + 100)
  centerNode.addChild(nodeRotateMe)
  
  // Change the rotation property of the center node to what??
  centerNode.zRotation = ?
  </code></pre>