I have a paddle and a ball (SKSpriteNodes) that are both affected by gravity. The paddle has a jumping effect to hit the ball.
The issue I'm having is when the paddle hits the ball, it absorbs some of the ball's energy and bounces back. The paddle needs to be unaffected by the ball's contact, but remain affected by gravity.
paddle.physicsBody!.affectedByGravity = true
paddle.physicsBody!.restitution = 0
ball.physicsBody!.affectedByGravity = true
ball.physicsBody!.restitution = 1.0
physicsWorld.gravity = CGVector(dx: 0, dy: -9.8)
EDIT:
This is the point of contact. The paddle jumps to the point of the ball, is normally affected by gravity, but receives a little downward bounce effect from the ball hitting it.