def METHOD_NAME(self, task):
    dt = globalClock.get_dt()
    self.process_input(dt)
    self.world.do_physics(dt)
    # Get nodes overlapping with the ghost object
    if self.ghostNP.node().get_num_overlapping_nodes() > 0:
        print(self.ghostNP.node().get_num_overlapping_nodes(),
              self.ghostNP.node().get_overlapping_nodes())
    return task.cont