![]() |
|
|||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#2
|
|||
|
|||
|
You could create a sub-class of VizAvatar, override the execute/state function, and keep the last set animation in a field variable.
Because it is possible to have multiple animations going at once, the Vizard API only has this yes/no query function. I think its good because a boolean is simpler to deal with than a list of all running animations. Usually my program logic has been interested in if a animation is running, not in what the animation actually is. For clarity, it might be nice to re-name the function 'isCycleRunning' and adding a 'getCyclesRunning' to return a list.
__________________
Paul Elliott WorldViz LLC |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Avatar animation | Joran | Vizard | 1 | 08-17-2007 10:44 AM |
| Avatar bvh animation | Jerry | Vizard | 3 | 07-31-2006 04:11 PM |
| creating avatar animation class? | Vbents | Vizard | 1 | 01-18-2006 11:34 AM |
| avatar animation problems | jrodman | Vizard | 1 | 01-18-2006 10:12 AM |
| Making an avatar speak while performing an idling animation | vr_boyko | Vizard | 1 | 10-05-2004 05:23 PM |