lee
1
I noticed in the documentation for Matter Physics there is an overlap function.
https://photonstorm.github.io/phaser3-docs/Phaser.Physics.Matter.MatterPhysics.html#overlap__anchor
however when I try:
this.matter.overlap(shot, this.shieldBack)
I get this.matter.overlap
is not a function. (within my scene object)
smjn
2
Make sure you are running phaser 3.22 or later. It sounds as though you might run an older version.
1 Like
lee
3
Tried 3.21, 3.22 and 3.23
also Phaser.Physics.Matter.MatterPhysics.overlap()
Still no luck
samme
4
There is definitely this.matter.overlap()
in Phaser v3.23.0.
lee
5
Ok, I tried 3.23 again and it’s working.
I thought I flushed my browser cache, but I guess maybe it held on to 3.21.