This project has moved and is read-only. For the latest updates, please go here.

Detect if no body is moving in the world

Feb 23, 2011 at 2:38 PM

Hi there

Is there a way to check if all bodies in my world are standing still (or at least not moving for a great amount)?

I have a small physics game with plattforms you can build and objects which travel trough them. So its easy to build
plattfroms that all object get stuck after some time. And i need a way to detect that to basicly say "game over".