# Riding plattform disables collision with walls / other objects

**URL:** <https://phaser.discourse.group/t/riding-plattform-disables-collision-with-walls-other-objects/10254>\
**Category:** Phaser 3\
**Created:** [September 15, 2021, 9:55am UTC](https://phaser.discourse.group/t/riding-plattform-disables-collision-with-walls-other-objects/10254 "2021-09-15T09:55:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Puccini](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/puccini/32/4984_2.png) [@Puccini](https://phaser.discourse.group/u/Puccini)\
**Post date:** [September 15, 2021, 9:55am UTC](https://phaser.discourse.group/t/riding-plattform-disables-collision-with-walls-other-objects/10254/1 "2021-09-15T09:55:51Z")

</div>

Hi there,

i’ve found this post here: [Bug regression riding a moving body ignore collision](https://phaser.discourse.group/t/bug-regression-riding-a-moving-body-ignore-collisions/6827)

I thought this was fixed, but in my actually game i can “ride” into a wall if i stand on a moving plattform.

This is my plattform group setup:

```javascript
        this.plattforms = this.physics.add.group({
            immovable: true,
            allowGravity: false,
            frictionX: 1,            
        });

        this.physics.add.collider( this.hero, this.plattforms );

```

And this is where i move each plattform:

```javascript
                if( this.x <= this.startPos ){
                    this.body.setVelocityX( 50 );
                }
                if( this.x >= this.targetPos){
                    this.body.setVelocityX( -50 );
                }

```

So if my player stands on this plattform, he get transported as expected. But if the plattform moves into a wall, hero is following and also moving in this wall. as soon as i move him a bit, collision is working again…

☹  
What am i missing?
