swift sprite kit game when I shoot on a enemy sometimes the bullet goes trough the enemy, how can I fix this?
问题 I'm making a game in sprite kit (2D) . I have this code: meteor.physicsBody = SKPhysicsBody(rectangleOfSize: enemy.size) and I have a meteor image that you need to destroy but sometimes when I shoot on my device to the meteor the bullet goes through the meteor is this a bug or did I do something wrong? and How can I fix this issue? thanks for reading my problem, I hope someone can help me! if you don't understand my question plz comment what you don't understand. func fireBullet() { let