View Single Post
  #2  
Old 02-03-2010, 07:56 AM
Enlil Enlil is offline
Member
 
Join Date: May 2008
Posts: 61
I tried it again using the biohead with eyes included in the resources directory. I got the same result - one of the heads loses it's eyes! This version only uses things from the resources directory, so should be runnable by anyone. The script is as follows:
Code:
import viz
viz.go()

female1 = viz.add('vcc_female.cfg')

#male.state(1)
face1 = female1.face('biohead_eyes.vzf')

foo1r = face1.getchild('geom_0') 
foo1l = face1.getchild('geom_1')

#male1.visible(viz.OFF)
#face1.visible(viz.OFF)


female2 = viz.add('vcc_female.cfg')


#male.state(1)
face2 = female2.face('biohead_eyes.vzf')

female2.setPosition([1,0,1])

foo2r = face1.getchild('geom_0') 
foo2l = face1.getchild('geom_1')
Christian

Last edited by Enlil; 02-03-2010 at 07:57 AM. Reason: left an import into the code that wasn't needed
Reply With Quote