I know you can have a game config like this to show the body shapes of your matter gameobjects:
var config = {
type: Phaser.AUTO,
width: 1280,
height: 780,
backgroundColor: "#000c1f",
parent: "game-container",
scene: SpaceScene,
physics: {
default: "matter",
matter: {
gravity: { y: 0 },
debug: true
}
}
}
But, is there a way to show more information, like velocities, forces, etc?