Check if the physics system is at rest.
The world to check
The number of seconds a body must be at rest to be considered stopped
Optional
True if all bodies are at rest
Check if the physics system is at rest.