title: Rotate a sprite to sprite position not exact in SpriteKit with Swift
body: <p>I'm trying to rotate a player to the touch. Using the touches move function, I set the location to a variable. I then call a function. It works but the angle is off. Location is the global variable and player is the sprite I want to turn. It's off by about 15 degrees. </p>
  
  <pre><code>   func rotatePlayer(){
  
       let angle = atan2(location!.y - player!.position.y , location!.x - player!.position.x)
      player?.zRotation = angle
  }
  </code></pre>