enriqueto Posted May 19, 2014 Share Posted May 19, 2014 I'm using p2 physics and I don't want to have the bottom side of the world walls that come as default. I do the following: this.game.physics.startSystem(Phaser.Physics.P2JS); this.game.physics.p2.gravity.y = 1300; var worldMaterial = this.game.physics.p2.createMaterial('worldMaterial'); this.game.physics.p2.setWorldMaterial(worldMaterial, true, true, true, false); this.game.physics.p2.setBoundsToWorld( true, true, true , false); However that results on none of the walls being there. Link to comment Share on other sites More sharing options...
smatthews1999 Posted May 5, 2015 Share Posted May 5, 2015 Hey I know this is old but did you ever find a solution to this? Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts