Skip to content

Arcade Body circle separations are incorrect #6963

Closed
@samme

Description

@samme

Version

  • Phaser Version: 3.85.0 to 3.87.0, 4.0.0-beta.2

Description

The separation step (i.e., repositioning) in separateCircle() seems incorrect. When body1 is pushable, body2 isn't repositioned, and the separation distance is too small. The result can be that separation takes several steps instead of one, or that separation never happens.

Example Test Code

Additional Information

The else if logic looks faulty.

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