Const
The Matter Physics Before Remove Event.
This event is dispatched by a Matter Physics World instance at the start of the process when a Body or Constraint is being removed from the world.
Listen to it from a Scene using: this.matter.world.on('beforeremove', listener).
this.matter.world.on('beforeremove', listener)
The Matter Physics Before Remove Event.
This event is dispatched by a Matter Physics World instance at the start of the process when a Body or Constraint is being removed from the world.
Listen to it from a Scene using:
this.matter.world.on('beforeremove', listener).