phaser: matter.add.gameObject(this) causes a collision event

If I do this.scene.matter.add.gameObject(this); in the constructor of a class that inherits from Matter.Image (probably happens with any Matter. type), I get a collision event of the image itself collisioning with the body that is being added.

Is that an expected behaviour?

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 16 (7 by maintainers)

Most upvoted comments

I don’t really get what you’re trying to do. Show some code please.