Sometime collide callback don't work

Hello,

I found that sometime collide callback isn’t working (see the video).

The code i use is this:

this.physics.add.collider(this.smiles, this.smiles, this.test, null, this);

test(e, e2){
  e.setTexture("angry");
  e2.setTexture("angry");
}

Collide box are squared as you can see:

Did i do something wrong ?

Thank you very much !

Thank you, it works fine with matter ! :smiley:

Idk, at the end they are definitely colliding but not changing textures.

Yes, they collide (and bounce), but the callback function isn’t triggered.