You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Arcade Physics: Immovable Object Moves when it has circular collision #7054
An immovable object with circular collision will move when an object with rectangular collision collides with it.
This is inconsistent with all earlier versions, and with rectangular objects.
In order to prevent an object from moving in 3.88.1, the body must be set to immovable, and have pushable explicitly set to false AND the object colliding with it must be pushable.
Example Test Code
in comments. the behavior is clear in the separateCircle function of world.js. When object is immovable but pushable, it moves it.
Additional Information
The behavior is USEFUL, but an unnecessary breaking change, and inconsistent with other shapes. setImmovable could set pushable to false, and require it be explicitly enabled, which should prevent it from being a breaking change.
Hi @hunkydoryrepair. Thanks for submitting this issue. We have fixed this and pushed it to the master branch. It will be part of the next release. Do test it out and let us know if you encounter any issues.
Activity
hunkydoryrepair commentedon Feb 21, 2025
https://jsfiddle.net/eb9ygph5/
hunkydoryrepair commentedon Feb 21, 2025
This fiddle shows the behavior did not happen as recently as 3.87.0
https://jsfiddle.net/eb9ygph5/2/
zekeatchan commentedon Mar 20, 2025
Hi @hunkydoryrepair. Thanks for submitting this issue. We have fixed this and pushed it to the
masterbranch. It will be part of the next release. Do test it out and let us know if you encounter any issues.Fix phaserjs#7054. Arcade physics circle game objects can be made imm…