View Single Post
  #2  
Old 04-17-2006, 01:23 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

Take a look at the following thread. It describes how to creat your own class that inherits from an avatar:

http://www.worldviz.com/forum/showthread.php?t=241

Also, if you want to access avatars by name then you should create a dictionary instead of a list. Here is an example:
Code:
name_dict = {}
name_dict['Bob'] = viz.add('male.cfg')
name_dict['Jane'] = viz.add('female.cfg')

name_dict['Jane'].translate(0,0,3)
Reply With Quote