vizact classes
Hi,
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,
Ben
Last edited by Vbents; 02-06-2006 at 10:42 PM.
|