Answer the question
In order to leave comments, you need to log in
How to create physics for the whole map in SpriteKit?
If this is how we take our scene layer and create physics for it
self.ground = self.childNode(withName: "//Ground") as! SKTileMapNode
self.ground.physicsBody = SKPhysicsBody(texture: self.texture, size: self.ground.tileSize)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question