Skip to content

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

Closed

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

Activity

  1. photonstorm commented on May 16, 2025

    @photonstorm
    Collaborator

    Thanks for opening this issue, and for submitting a PR to fix it. We have merged your PR into the master branch and attributed the work to you in the Change Log. If you need to tweak the code for whatever reason please submit a new PR.

  2. locked as resolved and limited conversation to collaborators on Nov 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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