Description
Hello, just a quick note since I'm doing something else:
I find this bit about event handlers not clear enough.
https://docs.panda3d.org/1.10/python/programming/tasks-and-events/event-handlers
"
Finally, there are some useful utility functions for debugging. The messenger typically does not print out when every event occurs. Toggling verbose mode will make the messenger print every event it receives. Toggling it again will revert it to the default. A number of methods exist for checking to see what object is checking for what event, but the print method will show who is accepting each event. Also, if accepts keep changing to the point where it is too confusing, the clear method will start the messenger over with a clear dictionary.
"
messenger.toggleVerbose()
print(messenger)
messenger.clear()
What is this messenger, how does it relate to anything, why are we using "print" and not something like .get_events()
.
And how do I import it? That's not in the code bit.