A body fell asleep or woke up (§32, §37).
§32 makes sleeping observable state with wake()/sleep() as the commands; this is the notification that the state actually changed, whether the change came from the thresholds, from an explicit command, or from a contact.
wake()
sleep()
Readonly
The body whose sleep state changed.
"sleep" when the body stopped simulating, "wake" when it resumed.
"sleep"
"wake"
A body fell asleep or woke up (§32, §37).
§32 makes sleeping observable state with
wake()/sleep()as the commands; this is the notification that the state actually changed, whether the change came from the thresholds, from an explicit command, or from a contact.