Const
The Matter Physics After Add Event.
This event is dispatched by a Matter Physics World instance at the end of the process when a new Body or Constraint has just been added to the world.
Listen to it from a Scene using: this.matter.world.on('afteradd', listener).
this.matter.world.on('afteradd', listener)
The Matter Physics After Add Event.
This event is dispatched by a Matter Physics World instance at the end of the process when a new Body or Constraint has just been added to the world.
Listen to it from a Scene using:
this.matter.world.on('afteradd', listener).