vsully
09-23-2005, 12:19 AM
Hi,
I have an avatar, and when I issue it an action/animation to play I .unlock() the headbone to give the action access to the head. After, I've set up a action_end_event callback to .lock() the head again so other operations can apply their manual transformations.
However, the "action" parameter for the callback function is given a viz.ActionData object, and I can't find information on how to access this object's data. I'd like to know which action (id?) has just ended. Thoughts?
Oh yes. And one other problem is that <avatar>.execute() doesn't seem to trigger an action_end_event. Which is unfortunate, because .execute does a nice job of blending the animations, while .act() (which i'm currently using), does not. Other thoughts?
Thanks.
I have an avatar, and when I issue it an action/animation to play I .unlock() the headbone to give the action access to the head. After, I've set up a action_end_event callback to .lock() the head again so other operations can apply their manual transformations.
However, the "action" parameter for the callback function is given a viz.ActionData object, and I can't find information on how to access this object's data. I'd like to know which action (id?) has just ended. Thoughts?
Oh yes. And one other problem is that <avatar>.execute() doesn't seem to trigger an action_end_event. Which is unfortunate, because .execute does a nice job of blending the animations, while .act() (which i'm currently using), does not. Other thoughts?
Thanks.