Hi, everyone. As said in the title, after I added a physics body to the bed node and set the view to show physics, there was no green box shown on simulator and the wooden block that was supposed to be pushed aside was in its original position. Did anyone have the same problem? Thanks!
// in BedNode.swift let bedBodySize = CGSize(width: 40.0, height: 30.0) physicsBody = SKPhysicsBody(rectangleOf: bedBodySize) physicsBody!.isDynamic = false // in GameViewController.swift view.showsPhysics = true