# Platform bug?

**URL:** <https://phaser.discourse.group/t/platform-bug/5661>\
**Category:** Phaser 3\
**Created:** [March 27, 2020, 4:32pm UTC](https://phaser.discourse.group/t/platform-bug/5661 "2020-03-27T16:32:43Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![adcoding](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/adcoding/32/3052_2.png) [@adcoding](https://phaser.discourse.group/u/adcoding)\
**Post date:** [March 27, 2020, 4:32pm UTC](https://phaser.discourse.group/t/platform-bug/5661/1 "2020-03-27T16:32:43Z")

</div>

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);

```

![Schermata 2020-03-27 alle 17.25.19](https://global.discourse-cdn.com/free1/uploads/phaser1/original/2X/8/846f43ac4e52929b85aa1cb5d3c9804a293343e9.jpeg)

---

<div class="post-metadata">

**Author:** ![samme](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/samme/32/5275_2.png) [@samme](https://phaser.discourse.group/u/samme)\
**Post date:** [March 27, 2020, 4:39pm UTC](https://phaser.discourse.group/t/platform-bug/5661/2 "2020-03-27T16:39:29Z")

</div>

Turn on game config `physics.arcade.debug`.

---

<div class="post-metadata">

**Author:** ![adcoding](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/adcoding/32/3052_2.png) [@adcoding](https://phaser.discourse.group/u/adcoding)\
**Post date:** [March 27, 2020, 4:41pm UTC](https://phaser.discourse.group/t/platform-bug/5661/3 "2020-03-27T16:41:17Z")

</div>

![Schermata 2020-03-27 alle 17.40.45](https://global.discourse-cdn.com/free1/uploads/phaser1/original/2X/2/2bb057e34f709ea35ec0b662fe5e56fb56ba272d.png)

---

<div class="post-metadata">

**Author:** ![samme](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/samme/32/5275_2.png) [@samme](https://phaser.discourse.group/u/samme)\
**Post date:** [March 27, 2020, 4:43pm UTC](https://phaser.discourse.group/t/platform-bug/5661/4 "2020-03-27T16:43:40Z")

</div>

[smaller bounding box](http://labs.phaser.io/view.html?src=src%5Cphysics%5Carcade%5Csmaller%20bounding%20box.js)

---

<div class="post-metadata">

**Author:** ![adcoding](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/adcoding/32/3052_2.png) [@adcoding](https://phaser.discourse.group/u/adcoding)\
**Post date:** [March 27, 2020, 4:48pm UTC](https://phaser.discourse.group/t/platform-bug/5661/5 "2020-03-27T16:48:13Z")

</div>

Sorry but I don’t understand…

---

<div class="post-metadata">

**Author:** ![samme](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/samme/32/5275_2.png) [@samme](https://phaser.discourse.group/u/samme)\
**Post date:** [March 27, 2020, 4:51pm UTC](https://phaser.discourse.group/t/platform-bug/5661/6 "2020-03-27T16:51:37Z")

</div>

The physics body is still on the platform.

You need to resize the physics body when you create the player. See line 33 of the example.

---

<div class="post-metadata">

**Author:** ![adcoding](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/adcoding/32/3052_2.png) [@adcoding](https://phaser.discourse.group/u/adcoding)\
**Post date:** [March 27, 2020, 5:07pm UTC](https://phaser.discourse.group/t/platform-bug/5661/7 "2020-03-27T17:07:21Z")

</div>

Thank youuuu!!! It works!!
