WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
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
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 11:29 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC