title: spritekit 2 bodies collide but don't bounce off each other
body: <p>I have 2 physics bodies in a scene. One of these bodies is a box that is just falling straight down (due to gravity), the other is a player that can stand, run, or jump while on the box. </p>
  
  <p>Currently, when the player collides with the falling box, they bounce off each other, however, I don't want them to do that, I want the box and the player to not affect each other's physical movements, but just for the player to be able to stand, run and jump while he is on the box.</p>
  
  <p>heres the code for both sprites:</p>
  
  <pre><code>func setUpPlayer() {
          player.physicsBody = SKPhysicsBody(rectangleOfSize: player.size)
          player.physicsBody?.mass = 1
          player.physicsBody?.restitution = 0
          player.xScale = 0.5
          player.yScale = 0.5
          player.position = CGPoint(x: 600, y: 800)
          addChild(player)
      }
  
  func addSquare() {
          let squareNode = SKSpriteNode(imageNamed: "fblogo.png")
  
          squareNode.physicsBody = SKPhysicsBody(rectangleOfSize: squareNode.size)
          squareNode.physicsBody?.mass = 1
          squareNode.physicsBody?.restitution = 0.2
          squareNode.physicsBody?.linearDamping = 0
          squareNode.physicsBody?.angularDamping = 0
          squareNode.physicsBody?.dynamic = true
          squareNode.xScale = 0.5
          squareNode.yScale = 0.5
          squareNode.position = CGPoint(x: 500, y: 700)
          self.addChild(squareNode)
          squaresArray.addObject(squareNode)
      }
  </code></pre>