Xcode – How to make one node disappear upon contact
So currently I am trying to make an app where when the player collides with the enemy, the enemy disappears. I have achieved this by writing this code; func didBegin(_ contact: SKPhysicsContact) { var firstBody = SKPhysicsBody() var secondBody =…