View Single Post
  #1  
Old 01-12-2006, 12:51 PM
jrodman jrodman is offline
Member
 
Join Date: Jun 2003
Posts: 21
avatar animation problems

I'm using the avatar callback mechanism to start a new animation when the previous animation finishes.

I'm using:
avatar.callback( viz.ACTION_END_EVENT, AvatarCallback )

I've run into several problems while working on this.

1) Inconsistent animation names.
In the resources script window, it lists the Animations under female.cfg.
The names do not match up with most of the actual animations. For instance, number 12 is labeled "f_wave.cax", but the actual animation looks like "loiter".

2) Idle pose appears between animations.
When the current animation is number 12 and it finishes, the avatar reverts to the arms spread idle pose briefly before triggering the ACTION_END_EVENT callback.

I tried writing a mini-script to demonstrate this, but it appears to work correctly in my mini-script.

3) avatar.idlepose
I found another thread talking about idle poses between animations.
It suggested calling avatar.idlepose(4). I tried this with the parameter set to 4, -1, and 12. None of them seemed to make a difference.

Also, it appears that idlepose is not documented.
Reply With Quote