Bounce variable does not work on tiles

When I set in constructor in kao class this.body.bounce = 0.1;, it makes so when it collides with tilemap it dissapears. Video showing this

I think it is bug.


Bounce is an object (vector).

this.body.bounce.x = 0.1

I replaced this.body.bounce = 0.1; to this.body.bounce.x = 0.1; this.body.bounce.y = 0.1; and it still does not work: video

this.kao =;
this.kao.defaults = {};

TY! It works. If you have time, can you explain why ?

Physics group defaults are applied after a member is created/added. And the defaults include bounce (0, 0).