View Single Post
  #3  
Old 01-10-2005, 08:59 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
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.
Reply With Quote