Can't get arcade physics to work alongside matter physics

class GameScene extends Phaser.Scene {
  constructor () {
    super({
      key: 'game',
      physics: {
        arcade: {
          debug: true,
          gravity: { y: 0 }
        },
        matter: {
          debug: true,
          gravity: { y: 0 },
          debugShowBody: true,
          debugBodyColor: 0x0000ff
        }
      }
    });
  }
}

var config = {
  // …
  scene: [BootScene, GameScene]
};
1 Like