pyCBD.realtime.threadingGameLoop module

class pyCBD.realtime.threadingGameLoop.ThreadingGameLoop[source]

Bases: object

Game loop subsystem for realtime simulation. Time will only progress when a step() call is made.

step()[source]

Perform a step in the simulation.

wait(delay, func)[source]

Wait for the specified time, or faster if interrupted

Parameters
  • delay (float) – Time to wait.

  • func (callable) – The function to call.