I noticed that my player does not fall immediately when he reaches the end of the platform.
The player remains suspended as if he were on the platform.
But if I walk a little further, the player falls.
it’s as if the platform is longer than what you see.
Has it ever happened to anyone?
platforms = this.physics.add.staticGroup();
platforms.create(1022, 525, 'ground4').setScale(1.5).refreshBody();
this.physics.add.collider(player, platforms);