WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-03-2006, 11:53 PM
VAmanda VAmanda is offline
Member
 
Join Date: Sep 2005
Posts: 12
Using Avatar.Person

I have a couple of questions about using the Avatar.Person class. First, is there some way to pause the avatar's actions? More specifically, I have an avatar giving a speech using the following code:

speech = avatar.loadSpeech('speech.wav')
avatar.addIntentional(speech)
avatar.go()

I want to be able to press a key and pause the speech. If I call avatar.stop(), the animations stop, but the audio of the speech continues. Is there a way for me to pause this as well?

Also, I'm a bit confused on how to change the avatar's head/body using the Person class. I assume I'm supposed to use the replaceHead() and bodyType() methods, but I'm not sure how the number argument corresponds to the head or body that I actually want to use.

Thanks.
Reply With Quote
 


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 05:58 PM.


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