CollisionHandlerQueue

Is CollisionHandlerQueue zero indexed? And what could cause this?

AssertionError: n >= 0 && n

Yes, of course it is. Just like everything else in C, C++, and Python. If there are n entries in the queue, they are numbered 0, 1, 2, …, n - 1.

David