Thread: Object.remove()
View Single Post
  #18  
Old 06-09-2005, 02:05 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

Removed objects and invisible objects cannot trigger intersections. From the code you posted, the only object that can be returned from the intersect call is object. Can you modify your code to the following and see if "WARNING" is printed out?
Code:
for object in collidablesBall:
	info=object.intersect(ball0503.actualPos.get(), ball0503.nextPos.get())
	if info.intersected:
		if info.object != object:
			print 'WARNING'
Reply With Quote