The Matter Physics Sleep End Event.
This event is dispatched by a Matter Physics World instance when a Body stop sleeping.
Listen to it from a Scene using: this.matter.world.on('sleepend', listener)
.
name | type | description |
---|---|---|
event | Phaser.Physics.Matter.Events.SleepEndEvent |
The Sleep Event object. |
body | MatterJS.BodyType |
The body that has stopped sleeping. |