k_iwan
04-08-2008, 04:58 PM
Hi,
I have an actor composed of several meshes. Now, I'd like to fade out one of the part. I did try to use the fade out command but it doesn't work. How should I do this in vizard?
ant = viz.add('Cfortis_16b_fixingAnimation.cfg')
ant.state(2) #running animation
ant.setAnimationSpeed(0,5.0)
Mandibles = ant.getChild('Cfortis_16b_fixingAnimation_Mandible s.xmf')
fadeout = vizact.fade(1,0,5)
Mandibles.add(fadeout)
viz.go()
I attached a screenshot as well.
Thank you for your assistance.
I have an actor composed of several meshes. Now, I'd like to fade out one of the part. I did try to use the fade out command but it doesn't work. How should I do this in vizard?
ant = viz.add('Cfortis_16b_fixingAnimation.cfg')
ant.state(2) #running animation
ant.setAnimationSpeed(0,5.0)
Mandibles = ant.getChild('Cfortis_16b_fixingAnimation_Mandible s.xmf')
fadeout = vizact.fade(1,0,5)
Mandibles.add(fadeout)
viz.go()
I attached a screenshot as well.
Thank you for your assistance.