GlobalClock C++

Which object can you get the GlobalClock from? It’s mentioned in documentation, in ClockObject header, but nowhere is it mentioned which object actually has access to the GlobalClock.

There’s a static method: ClockObject::get_global_ptr(). It returns the pointer to the one ClockObject instance. There are several such classes within Panda.

David

Aha, I swear when I glanced over ClockObject it was a private function :stuck_out_tongue: thanks.