Skip to content

Arcade Physics OverlapCirc() and OverlapRect() error when useTree is false #7112

Open
@samme

Description

@samme

Version

  • Phaser Version: 4.0.0 RC1

Description

When the Arcade Physics World's useTree is false, searching dynamic bodies with OverlapCirc() or OverlapRect() causes an error:

[Error] TypeError: undefined is not a function (near '...bodies.iterate...')

Example Test Code

https://phaser.io/sandbox/Rcy9uLd3

Additional Information

#7105

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