![]() |
#3
|
|||
|
|||
![]()
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 |
Thread Tools | |
Display Modes | Rate This Thread |
|
|