The Matter.Sleeping module contains methods to manage the sleeping state of bodies.
Matter.Sleeping
Sleeping
Static
Given a set of colliding pairs, wakes the sleeping bodies involved.
afterCollisions
Set a body as sleeping or awake.
set
Puts bodies to sleep or wakes them up depending on their motion.
update
The
Matter.Sleepingmodule contains methods to manage the sleeping state of bodies.Sleeping