SpriteKit: Sprites are moving through each other with a physicsBody already set
问题 So I have created a player who moves tile based and a wall surrounding the map to keep the player on the playground. Both have a physicsBody in them. My guess is, that my movement of the player is not properly and so the player bugs into the walls. Let me just show you my code: So this is the physicsBody of the Player: self.physicsBody!.usesPreciseCollisionDetection = true self.physicsBody!.categoryBitMask = PhysicsCategory.Player self.physicsBody!.contactTestBitMask = PhysicsCategory.House