I am using Tiled to create my levels in Phaser 3. I have my level, and the platforms load in fine, however, my player goes right through them. How do I add matter bodies to all of my platforms that are loaded?
Code for my platforms:
//Create tilemap
const map = this.make.tilemap({key: 'map'});
//Create tileset
const tileset = map.addTilesetImage('Assets_City', 'tiles');
const platforms = map.createStaticLayer('Ground', tileset, 0, 200);