Hi,
The
break statement will cause a for/while loop to exit. Example:
Code:
for i in range(100):
if i == 50:
break
About the collision problem, have you checked that a collision is actually reported? Try placing a print statement inside the
if info.intersected clause.