View Single Post
Old 01-10-2005, 09:59 AM
farshizzo farshizzo is offline
WorldViz Team Member
Join Date: Mar 2003
Posts: 2,849

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