|
#1
|
|||
|
|||
You can use the node.getChild command to get a handle to a sub-node. Example:
Code:
slider = viz.addChild('sodoku.ive') c2 = slider.getChild('c2') . . . obj = viz.pick() if obj == c2: print 'c2 picked' |
#2
|
|||
|
|||
This works fine, but introduces extra drawables in the scene. With large scenes this can hurt the framerate. Is there no other way to do this? Maybe it can be on the wish-list for the next update?
|
#3
|
|||
|
|||
Calling getChild should not introduce more drawables. Can you post an example where it does?
This is already a feature in the upcoming Vizard 5 release. You will be able to get access to the full node hierarchy of the intersection. |
#4
|
|||
|
|||
It's sound great
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mouse bug in V3 and V4 | Renato Lima | Vizard | 2 | 05-11-2011 06:38 PM |
grabbing the object under mouse | dwaik | Vizard | 2 | 03-02-2010 01:46 AM |
retrieve Object names | Geoffrey | Vizard | 11 | 12-11-2009 04:26 AM |
how to pick up the object, move and rotate using mouse | nasr | Vizard | 5 | 05-05-2009 03:11 AM |
moving and object by mouse but don't know how to stop the movement | nlfrnassimi | Vizard | 8 | 04-26-2009 07:23 AM |