![]() |
|
#3
|
|||
|
|||
|
Sorry for the puzzle. So I have a number of objects (balls) described in the script as the list segmSet[]. Each object was generated as the instance of class. While colliding with a hand moving pointer object (which is e.obj1) such a ball (which is e.obj2) should change the color to orange and class variable segmSet[].selected associated with this object should be changed. No problem with color:
e.obj2.color(viz.ORANGE) but if I try something like if e.obj2 in segmSet: . . . to change segmSet[].selected, it does not work. |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Camera collisions with duckcourt code | shivanangel | Vizard | 2 | 03-14-2008 11:46 AM |