View Single Post
  #4  
Old 10-25-2012, 01:14 AM
JvdBosch JvdBosch is offline
Member
 
Join Date: Sep 2006
Posts: 36
Quote:
Originally Posted by farshizzo View Post
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'
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?
Reply With Quote