Thread: vizact classes
View Single Post
Old 02-06-2006, 10:39 PM
Vbents Vbents is offline
Join Date: Sep 2005
Posts: 25
vizact classes


I'm trying to update my copy of punch demo to work in 2.53, and I've run into a familiar problem with the fall action class. If you have a working copy of PunchDemo, that would be great, but I would still really like to know how to use Vizard's new action classes.

Is there a tutorial that explains how to use python classes to define new actions? If not, can you at least explain what the _actiondata_ attribute is, and how it is initialized? It would also be very useful to see a generic action class which correctly initializes, updates, and terminates an action.

Finally, how can I see what an avatar's current animation is? This call no longer works:

if avatar.get(viz.CURRENT_ANIMATION) == fall

Thanks for your help,

Last edited by Vbents; 02-06-2006 at 10:42 PM.
Reply With Quote