dominic
09-07-2005, 02:00 PM
Hi,
I have the following code in a director function. I want to turn the head of an avatar and want to wait till its done before I do anything else. How can I get the duration of the just created animation?
avatar = viz.add('male.cfg')
look_at = avatar.headto(angle,0,0)
avatar.act(look_at)
viz.waittime(avatar.getduration(look_at))# didnt work
thanks,
dominic
I have the following code in a director function. I want to turn the head of an avatar and want to wait till its done before I do anything else. How can I get the duration of the just created animation?
avatar = viz.add('male.cfg')
look_at = avatar.headto(angle,0,0)
avatar.act(look_at)
viz.waittime(avatar.getduration(look_at))# didnt work
thanks,
dominic