parameters: (self)
docstring: Cycle through collision handler entries
docstring_summary: Cycle through collision handler entries
docstring_tokens: Cycle through collision handler entries
function: def pickNextCOA(self):
          """ Cycle through collision handler entries """
          if self.cqEntries:
              # Get next entry and rotate entries
              entry = self.cqEntries[0]
              self.cqEntries = self.cqEntries[1:] + self.cqEntries[:1]
              # Filter out object's under camera
              nodePath = entry.getIntoNodePath()
              if SEditor.camera not in nodePath.getAncestors():
                  # Compute new hit point
                  hitPt = entry.getSurfacePoint(entry.getFromNodePath())
                  # Move coa marker to new point
                  self.updateCoa(hitPt, ref = self.coaMarkerRef)
              else:
                  # Remove offending entry
                  self.cqEntries = self.cqEntries[:-1]
                  self.pickNextCOA()
function_tokens: def pickNextCOA ( self ) : if self . cqEntries : # Get next entry and rotate entries entry = self . cqEntries [ 0 ] self . cqEntries = self . cqEntries [ 1 : ] + self . cqEntries [ : 1 ] # Filter out object's under camera nodePath = entry . getIntoNodePath ( ) if SEditor . camera not in nodePath . getAncestors ( ) : # Compute new hit point hitPt = entry . getSurfacePoint ( entry . getFromNodePath ( ) ) # Move coa marker to new point self . updateCoa ( hitPt , ref = self . coaMarkerRef ) else : # Remove offending entry self . cqEntries = self . cqEntries [ : - 1 ] self . pickNextCOA ( )