The global clock is import into the global namespace when you start up panda
to get the time(in seconds) since the last frame was drawn:
globalClock.getDt()
another useful function is the time (in seconds since the program started
globalClock.getFrameTime()
|