# Sprite "shaking" while camera moving

**URL:** <https://phaser.discourse.group/t/sprite-shaking-while-camera-moving/8675>\
**Category:** Phaser 3\
**Created:** [January 18, 2021, 9:26am UTC](https://phaser.discourse.group/t/sprite-shaking-while-camera-moving/8675 "2021-01-18T09:26:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Myerffoeg](https://avatars.discourse-cdn.com/v4/letter/m/ac8455/32.png) [@Myerffoeg](https://phaser.discourse.group/u/Myerffoeg)\
**Post date:** [January 18, 2021, 9:26am UTC](https://phaser.discourse.group/t/sprite-shaking-while-camera-moving/8675/1 "2021-01-18T09:26:32Z")

</div>

Hi,

I got a problem on my game, I made a RPG 2D game with the arcade physic & made the camera follow a sprite smoothly like that:

```
this.scene.cameras.main.startFollow(this, true, 0.05, 0.05);
this.scene.cameras.main.setZoom(5, 5);

```

But when I move the sprite the camera attached to it makes the sprite shakes.  
So I tried to desactivate the round pixel (game config & camera) but I still get the shaking effect on my sprite. The only way I don’t have this effect is by desactivating roundPixel (camera & game) and removing the smoothing camera effect like so:

```
this.scene.cameras.main.startFollow(this, false);
this.scene.cameras.main.setZoom(5, 5);

```

Can someone tell me where this comes from and how could I fix it (keepingthe smoothing of the camera)?

Thank you!

---

<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:** [January 18, 2021, 6:18pm UTC](https://phaser.discourse.group/t/sprite-shaking-while-camera-moving/8675/2 "2021-01-18T18:18:45Z")

</div>

You can try adding `{ fixedStep: false }` to your Arcade Physics config and see if it makes a difference.
