Thread: animation path
View Single Post
  #2  
Old 03-16-2009, 11:13 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
This will start an avatar walking when the spacebar is pressed.

Code:
import viz
viz.go()

male = viz.add('vcc_male.cfg')
walk = vizact.walkTo([0,0,5])
vizact.onkeydown(' ', male.addAction, walk)
Reply With Quote