title: Moving SpriteNodes outwards in a circular pattern
body: <p>I have a function that creates 8 bullets coming from the player in a circle firing outwards. I think the problem lies with this line here:</p>
  
  <pre><code>let endPoint = CGPoint(x: distance * cos(angle), y:  distance * sin(angle))
  </code></pre>
  
  <p>This causes the bullets to move faster in the bottom left of the circle than the ones in the top right, when in fact they should all move the same distance at the same speed.</p>
  
  <p>Does anyone know how to implement this?</p>
  
  <pre><code>func fireSpecialWeapon() {
  
      stride(from: 0, to: 2 * CGFloat.pi, by: 2 * CGFloat.pi / 8 ).forEach { angle in
          let bullet = SKSpriteNode(imageNamed: "bulletCircle")
          bullet.setScale(3)
          bullet.zRotation = angle
          bullet.position = player.position
          bullet.zPosition = 2
  
          //move outwards to the edge of the screen
          let distance: CGFloat = 1000
          let endPoint = CGPoint(x: distance * cos(angle), y:  distance * sin(angle))
          let move = SKAction.move(to: endPoint, duration: 2)
  
          self.addChild(bullet)
          bullet.run(move)
      }
  }
  </code></pre>