View Single Post
  #1  
Old 03-20-2009, 12:40 PM
Uttama_vizard Uttama_vizard is offline
Member
 
Join Date: Sep 2007
Posts: 60
Avatar speaking problem

Hello,

My application requires interacting with an avatar (speaking) while wearing an eye tracking. What I want is that if my gaze goes towards the avatar, then the character should speak, but, when my gaze goes away from the avatar, the avatar should stop speaking or say something else.

But, the problem I am facing is that I am not being able to interrupt the avatar's previous action (before its scheduled completion).

I am using:
sound = vizact.speak("words.wav", scale= 0.007, sync=True)
character1.addAction(sound, pool=pool_number); pool_number = pool_number+1;

Then when I am using character1.clearActions(), it seems to me that I am not being able to interrupt the avatar's speech before its sceduled end point.

Any suggestion would be really appreciated.

Thanks

Uttama
Reply With Quote