self.world.doPhysics(globalClock.getDt(), 15, 0.001) node.setCcdSweptSphereRadius(0.5)
The program now works fine. Thank you!
By the way, could you help me with the other questions?