Sprite-Kit registering multiple collisions for single contact
OK – it would appear that a simple: if bomb == nil {return} is all that’s required. This should be added as follows: let bomb = contact.bodyA.categoryBitMask == category.bomb.rawValue ? contact.bodyA.node : contact.bodyB.node if bomb == nil {return} This works to prevent multiple collisions for a node that you removeFromParent in didBeginContact. If you don;t … Read more