I'm new to SpriteKit, and I'm trying the new SKCameraNode, and I want to move the camera around the scene
If I try to run an SKAction, the camera won't move:
CGPoint newPosition = CGPointMake(..., ...);
SKAction *action = [SKAction moveTo:newPosition duration:kTimeInterval];
[cameraNode runAction:action];I've tried running that same SKAction on another node (SKShapeNode), and that node moves fine.
I've also tried to change the position property of the SKCameraNode directly, and it works, but it's not as smooth as I'd like it to be:
CGPoint newPosition = CGPointMake(..., ...);
cameraNode.position = newPosition;What's the correct way to move an SKCameraNode?
This is running against Xcode Version 7.0 beta (7A120f) on an iPhone 5s (9.0 - 13A4254v)