WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-16-2009, 12:13 PM
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
  #2  
Old 03-16-2009, 11:51 PM
nlfrnassimi nlfrnassimi is offline
Member
 
Join Date: Feb 2009
Posts: 37
Thanks but this is not what I want. I want the same character (char) that I have attached a camera to it to be animated. The above code doesn't work.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with interaction of vizact.turn and animation path Enlil Vizard 3 11-24-2008 05:23 PM
speed on animation path whj Vizard 8 11-17-2008 08:41 PM
real time collision on animation path whj Vizard 10 10-06-2008 05:38 PM
Animation Path djdesmangles Vizard 2 06-11-2007 04:37 PM
Animation Path djdesmangles Vizard 0 06-06-2007 12:03 PM


All times are GMT -7. The time now is 02:18 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC