title: swift scene.sks file objects not applying z rotation value
body: <p>I'm making a simple game application for IOS devices, loosely based from the book 'swift game development'. I have created a protocol which I use as a template for creating a class for each type of in game object. A platform for the player to jump on has the following class based on the protocol</p>
  
  <pre><code>import SpriteKit
    class GrassyPlatform: SKSpriteNode, GameSprite {
    var textureAtlas:SKTextureAtlas = SKTextureAtlas(named: "Enviroment")
    var initialSize: CGSize = CGSize(width:630, height:44)   
    init() {     
        super.init(texture: textureAtlas.textureNamed("GrassPlatform1"), color: .clear, size: initialSize)
        self.anchorPoint = CGPoint(x: 0.5, y:0.5)
        physicsBody = SKPhysicsBody(rectangleOf: initialSize)
        physicsBody?.restitution = 0
        self.physicsBody?.isDynamic = false     
    } 
    required init?(coder aDecoder: NSCoder) {
        super.init(coder: aDecoder)
    }  
  }
  </code></pre>
  
  <p>I'm using the scene editor to place these objects onto the scene, assigning each object the relevant custom class. Like the one above.
  When I run the game the objects position (assigned only from the scene editor) is respected, but the zRotation value is ignored. For example setting the platform in the scene editor as so 
  <a href="https://i.stack.imgur.com/5SDyK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5SDyK.png" alt="gamescene screen shot"></a></p>
  
  <p>But this results in the platform appearing at the correct position but with the default zRotation value and not the one assigned in the game scene.</p>
  
  <p><a href="https://i.stack.imgur.com/YqA5M.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YqA5M.png" alt="simulation screen shot"></a></p>
  
  <p>I can adjust the rotation manually through self.zRotation but this defeats the whole point of using the scene.sks for level design.</p>
  
  <p>Is there away to adjust the zRotation through game scene and if so how?</p>
  
  <p>Thanks</p>