WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
  #1  
Old 01-12-2006, 01: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
  #2  
Old 01-18-2006, 10:12 AM
tobin tobin is offline
WorldViz Team Member
 
Join Date: Feb 2003
Posts: 251
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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 08:22 AM.


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