View Single Post
  #1  
Old 09-23-2005, 12:19 AM
vsully vsully is offline
Member
 
Join Date: Sep 2004
Posts: 24
Send a message via AIM to vsully
action_end_event and the mysterious viz.ActionData

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.

Last edited by vsully; 09-23-2005 at 12:22 AM.
Reply With Quote