Thread: vizact classes
View Single Post
  #2  
Old 02-07-2006, 10:10 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

The punching demo is available for download at the following link:http://www.worldviz.com/download/index.php?id=19

The actiondata is just a generic container which holds the data describing an action. It must contain an attribute called actionclass which points to an ActionInstance class that implements the action. The fall action in the punching demo is a good example of how to implement your own action class.

To get the current action of a node use:
Code:
node.get(viz.CURRENT_ACTION)
Reply With Quote