Skip to content

Body Center is wrong when reset(x,y) and collideWorldBounds is enabled #5978

@lukasharing

Description

@lukasharing

https://github.com/photonstorm/phaser/blob/d67c93646cbfe8ba5997954f8af29a8f3f9e8e91/src/physics/arcade/Body.js#L1393-L1395

this.checkWorldBounds() calculation should be called when reseting to avoid flickering

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions