Collision checking issues
问题 The code checks if the user taps a ball with the same texture as a ball that randomly changes textures. But in my console "Point" is only printed occasionally although I tap on the ball with the same texture as the ball that randomly changes texture. How can this be fixed. Has this something to do with adding a physicsBody to the other balls? override func touchesBegan(touches: Set<NSObject>, withEvent event: UIEvent) { var array = [blueTexture, redTexture, greenTexture, yellowTexture]// var