WorldViz User Forum

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

Vbents 01-16-2006 06:10 PM

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

farshizzo 01-18-2006 10:34 AM

1 Attachment(s)
Hi,

I've attached a version of that script that works with the recent version of Vizard.


All times are GMT -7. The time now is 03:45 PM.

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