How to make SKSpriteNode reappear on the opposite side of its SKScene?
问题 I have been experimenting with SpriteKit for some time now, and I would appreciate some “best practice” input regarding the movement of my SKSpriteNode within its SKScene’s bounds. Using the accelerometer, I am applying forces on an SKSpriteNode's PhysicsBody property in order to move the node around the screen in a marble-like fashion. Currently, I set the PhysicsBody of my scene using self.physicsBody = [SKPhysicsBody bodyWithEdgeLoopFromRect:self.frame] so that the marble simply bounces