![]() |
|
#1
|
|||
|
|||
After switching to .3DS, the problem is gone. Is this a problem or limitation with the .IVE file format?
|
#2
|
|||
|
|||
The object.name field will hold the name of the lowest level transform. In the case of the .ive file that is a texture unless there is no texture. What you can do is get a handle to the child object using <node3D>.getChild and then check to see if that was picked:
Code:
import viz import vizact viz.go() gallery = viz.addChild('gallery.ive') painting = gallery.getChild('art04-FACES') def showPicked(): object = viz.pick() if object == painting: viz.logNotice('Dali painting picked') vizact.onmousedown(viz.MOUSEBUTTON_LEFT,showPicked) http://kb.worldviz.com/articles/1157 |
![]() |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
winviz.exe problem | llqqff | Vizard | 2 | 07-16-2010 09:08 AM |
Pick porblem with arrays | shivanangel | Vizard | 3 | 08-27-2007 10:10 AM |
picking problem... | k_iwan | Vizard | 2 | 07-27-2007 07:57 PM |
5DT Data Glove 5 Ultra Problem | bjgold | Vizard | 1 | 08-08-2006 04:08 PM |
problem with female animations | vmonkey | Vizard | 1 | 10-07-2005 10:36 AM |