View Single Post
  #1  
Old 01-16-2006, 06:10 PM
Vbents Vbents is offline
Member
 
Join Date: Sep 2005
Posts: 25
creating avatar animation class?

Hi,

I'm trying to update the Lemming-pit demo that worked in Vizard 2.17, but I can't find any documentation on how to create custom avatar animations in 2.53. Right now the code errors when the custom action (falling into the pit with x & y momentum) ends:

Traceback (most recent call last):
File "C:\Program Files\Vizard25\viz.py", line 5922, in mytimer
self.notifyEndAction(curAction._obj_,curAction._ac tiondata_.callbackData,thread)
AttributeError: FallAction instance has no attribute '_actiondata_'


Mostly, I would like to know what I have to write for the class's

__init__, begin, update, & end functions--or at least what is being passed in by viz.py.

Thanks,
Ben Trombley
Reply With Quote