Panda Bullet

What do you mean when you say “handling”?

If you mean to get events whenever collisions are detected, then yes, this is possible. Or you can explicitly test for contacts (contactTest). It you want to modify the contact properties then no, this is not exposed.

To get contact notification events you first have to enable this feature via a config option, e. g. like this

from pandac.PandaModules import loadPrcFileData
loadPrcFileData('', 'bullet-enable-contact-events true')

Then you have to activate the creation of contact events for particular nodes, and you have to listen for the created events:

    self.accept('bullet-contact-added', self.onContactAdded)
    self.accept('bullet-contact-destroyed', self.onContactDestroyed)

    boxNP.node().notifyCollisions(True)

The methods which get called must have this signature:

def onContactAdded(self, node1, node2):