how to pause the PhysicsManager?

I tried to operate the global clock with

ClockObject.getGlobalClock().setMode(ClockObject.MSlave)
#and
self.parent.disableParticles()

and visually it freeze the moving physics objects but when I restart the clock with

ClockObject.getGlobalClock().setMode(ClockObject.MNormal)
#and
self.parent.enableParticles()

the objects are gone as the simulation was never stopped.
I tried also to save and force frame time and count w/ setFrameTime() and setFrameCount() but with no luck.

Try setRealTime().

David

it works perfectly, thanks!

this is the code piecewise (off a class):

  #-----------------------------------------------------
  #
  _GCLK=None
  _FT=None
  def togglepause(self):
    if (self._GCLK == None):
      print "[pong] pausing..."
      self.parent.disableParticles()
      self._GCLK=ClockObject.getGlobalClock()
      self._FT=self._GCLK.getFrameTime()
      self._GCLK.setMode(ClockObject.MSlave)
    else:
      self._GCLK.setRealTime(self._FT)
      self._GCLK.setMode(ClockObject.MNormal)
      self.parent.enableParticles()
      self._GCLK=None
      print "[pong] restarting..."