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)
.
name | type | description |
---|---|---|
event | Phaser.Physics.Matter.Events.BeforeRemoveEvent |
The Remove Event object. |