WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #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
  #2  
Old 01-18-2006, 10:34 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

I've attached a version of that script that works with the recent version of Vizard.
Attached Files
File Type: zip avatarlemming.zip (3.3 KB, 681 views)
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 07:46 AM.


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