Gap between SKSpriteNodes in SpriteKit collision detection
问题 I've been trying to figure this out for quite a while now -- I have a game with simple platformer physics where a player falls onto a block, which stops him from falling. This works, however there is a noticeable gap between where the player stops, and where the actual object/spritenode is. Here is a screenshot, it should be self-explanatory: class GameScene: SKScene { override init(){ super.init(size: UIScreen.mainScreen().bounds.size) self.physicsWorld.gravity = CGVector(dx: 0, dy: -9.8) }