View Single Post
  #3  
Old 02-02-2007, 03:15 PM
vAlexia vAlexia is offline
Member
 
Join Date: Sep 2006
Location: Stanford, CA
Posts: 10
Exclamation

I added the underscores to the bone names in Max in case Vizard was not able to handle the spaces. To test your code, however, I went back to using the regular names with spaces. (the "setFace" command gives me the error "AttributeError: VizAvatar instance has no attribute 'setFace'. So I used the <avatar>.face command again.) Here's the code:

child = viz.add('child.cfg')
child.scale(.01,.01,.01)

face = viz.add( '001.vzf' ) ##moved the head files into the same folder as the code##
child.face( face, 'Bip01 Head', 'Bip01 Neck' )

The head is still attaching to the left hand instead of the neck. Is vizard somehow mixing up the bone names?

Thanks,
Alexia
Reply With Quote