WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   avatar animation problems (https://forum.worldviz.com/showthread.php?t=477)

jrodman 01-12-2006 12:51 PM

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.

tobin 01-18-2006 09:12 AM

Sorry you've had troubling using these functions. Are you still having trouble? If so, can you post a specific question and we'll be happy to look into it for you.


All times are GMT -7. The time now is 09:17 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC