javier.hernandez.montes Posted January 8, 2017 Share Posted January 8, 2017 Hello all! I was trying to trim the collision size of one tile in Tiled, but then in Phaser the body of that tile it's the same. Does anyone know if is it possible to use Arcade Physics from phaser to get the trimmed collision size of the grid? I am waiting for your response. Thank you so much tilemapAux.json tilemapAux.tmx Link to comment Share on other sites More sharing options...
FinalFantasyVII Posted January 10, 2017 Share Posted January 10, 2017 Hi! Try this. To see the size of the collision rectangle. render: function () { this.game.debug.body(this.sprite); } Then adjust the size of the collision rectangle create: function () { this.sprite.body.setSize(16, 10); // Set your collision size } Link to comment Share on other sites More sharing options...
Recommended Posts