title: SKAction scaleXTo:-1
body: <p>I am trying to mirror my SKSpriteNode using <code>SKAction *mirrorDirection  = [SKAction scaleXTo:-1 y:1 duration:0.0];</code> but every time I do, the sprite's physics body seems to get messed up and it drops off the screen. I have several objects (floors) beneath the sprite and it falls through all of them as if they are not there.</p>
  
  <p>This only happens when I mirror the sprite. Anyone know how to fix this?</p>
  
  <p><strong>Update:</strong>
  Reseting the physics body as one answer suggested unfortunately did not fix the problem. It appears that only the contact part of the physics body malfunctions. Gravity still has an effect as the little guy drops like a rock.</p>
  
  <p>I also tried to reset by again <code>self.physicsBody = [SKPhysicsBody bodyWithRectangleOfSize:CGSizeMake(self.size.width, self.size.height)];</code></p>
  
  <p>right after the <code>self.xScale = -1;</code> but this also did not fix the issue.</p>