Skip to content

What's wrong with the smooth moving of Arcade Physics? Jittering, laggy moving #6293

@ProgrammingLife

Description

@ProgrammingLife

I look at this example of Arcade Physics moving:
https://labs.phaser.io/view.html?src=src/physics/arcade/body%20controls.js&v=3.60.0-beta.14
(I set collideWorldBounds on)
Every 5-7 seconds I see a little random jump, I believe it's called jittering.

Also I've done some comparison "ArcadePhysics vs Sprite.x moving" here: https://codepen.io/GDv777/pen/mdxpPqd
Top object looks more laggy than the another one. Is that some problem with ArcadePhysics, with Phaser3 or with our browsers?
We test it on many browsers, the result is always the same, we are all see that top object has much more jittering than just moving it with "sprite.x" method.

Also I've noticed that MatterJS (in Phaser) has more smoothing movement than Arcade.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions