WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-15-2009, 04:00 PM
Vkathrynr Vkathrynr is offline
Member
 
Join Date: Sep 2005
Posts: 12
animating complete characters in Vizard

Is it possible to animate complete characters in Vizard?

I have composed this script, but the avatar does nothing and there are no errors in the Vizard console. I'm am a beginner programmer - so I apologize in advance if the correction is rather obvious.

I'm trying to move the avatar's arm in a toss type motion.

Thanks,
Kathryn

if key == 'b':
print 'pressed b, ball will be tossed to virtual human'
#Get a handle to the Neck bone############################################## ########Animate toss in Vizard?
forearm = confederate1.getBone('Bip01 R Forearm')
forearm.lock() #Disable automatic animation so that we can manually animate it
#Lock the head bone so that manual movement of the neck bone also moves the child head bone
confederate1.getBone('Bip01 R UpperArm').lock()
confederate1.getBone('Bip01 R Hand').lock()
forearm.setEuler(50,0,0)
ball.goto(.9,1.25,4.8,5)
Reply With Quote
 

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
Vizard tech tip: Using the Python Imaging Library (PIL) Jeff Vizard 0 03-23-2009 12:13 PM
How to add individual faces onto the complete characters used in Vizard? VDong Vizard 3 11-12-2008 11:05 AM
Complete Characters Following Camera vTony Vizard 2 10-16-2008 12:43 AM
How to cut out the heads of the complete characters? VDong Vizard 2 09-26-2008 06:27 PM
animating built-in vizard male and female avatars vAlexia Vizard 2 09-19-2006 02:06 PM


All times are GMT -7. The time now is 08:16 AM.


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