View Single Post
  #1  
Old 03-29-2011, 02:33 AM
Moh200jo Moh200jo is offline
Member
 
Join Date: Feb 2009
Posts: 99
Just an Idea to do it

I have 10 objects and want to do something if a collision happens between any of them and Box1. Box 1 can collide with other objects, but I do not want to do anything with that.
I have done that by writing if statement for all of them, but this way is really hard to accommodate
I have to write this
Code:
 if Box in viz.phys.intersectNode(Obj1) :
.
.
if Box in viz.phys.intersectNode(Obj10):
Anybody has an idea?
Thanks,
Moh
Reply With Quote