WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 07-10-2008, 01:12 PM
Andrey Andrey is offline
Member
 
Join Date: Apr 2007
Posts: 21
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.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Camera collisions with duckcourt code shivanangel Vizard 2 03-14-2008 11:46 AM


All times are GMT -7. The time now is 03:32 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC