I have a problem with clearing the entries of CollisionHandlerQueue.
Using the method clearEntries seem to have no effect at all!
Does anyone know how to clear the entries of the queue??
self.ray = CollisionRay(center.getX(),center.getY(),center.getZ(),dirx,diry,dirz)
self.rayNode.addSolid(self.ray)
self.__class__.LOSqueue.clearEntries()
self.__class__.LOSchecker.addCollider(self.rayNodePath, self.__class__.LOSqueue)
self.__class__.LOSchecker.traverse(render)
print self.__class__.LOSqueue.getNumEntries()
if(self.__class__.LOSqueue.getNumEntries() > 1):
self.__class__.LOSqueue.sortEntries()
pickedObj = self.__class__.LOSqueue.getEntry(1).getIntoNodePath()
print pickedObj