PDA

View Full Version : avatar bone movement


epl
05-03-2004, 05:03 PM
I can't seem to find a list of avatar bone names anywhere in the world viz forum or the vizard help index. Can you help me? I'm using the old avatar studio commands not the new avatars.

farshizzo
05-03-2004, 05:12 PM
Hi,

When you load your script into Vizard, take a look at the Resource window. The filename of your avatar should be listed there. Click on the + symbol next to the name to view expanded information about it. There will be a subitem named "bones". Expand this to see a list of all the bones of the avatar. Click here (http://www.worldviz.com/forum/showthread.php3?s=&threadid=104) for a link to a thread which includes a picture of how this will look like (Scroll to the bottom of the page to see the picture).

epl
05-03-2004, 05:23 PM
My avatar name is not listed in the resource window. Here is the code that we are using to invoke the avatar.

avatar = Avatar.Person('avatarname')
avatar.go()
avatar.startPosition(0,0, 180)
avatar.setPose('Poses/seated.bvh')
avatar.restorePose()
#avatar.translate(0,-.25,.65) #sets avatar location in world
# MODIFIED BY ERIC LASCHINGER
avatar.translate(0,-.25,.65)
# THIS ALSO DOES NOT WORK
#righthand = avatar.getbone('Right Hand')

We are not using the standard...
avatar = viz.add('anything.cfg')

farshizzo
05-03-2004, 05:27 PM
Hi,

The functionality for getting bones only works for the R2 (cfg) avatars. It will not work for the generation of avatars you are using. You might want to check out the following page, which has information on advanced control of the old avatars:

Avatar_Advanced_Control_old.htm (http://www.worldviz.com/vizhelp_old/Avatar_Advanced_Control_old.htm)