WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 08-17-2009, 12:35 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
Please use the code tags when posting code to preserve the indentaton. The following will move the avatar's arm.

Code:
import viz
viz.go()

female = viz.add('vcc_female.cfg', pos = [0,0,5], euler = [180,0,0])
female.state(1)

def tossBall():
	
	forearm = female.getBone('Bip01 R Forearm')
	forearm.lock()
	forearm.setEuler(90,0,-90)

vizact.onkeydown('b', tossBall)
Reply With Quote
Reply


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 11:13 AM
How to add individual faces onto the complete characters used in Vizard? VDong Vizard 3 11-12-2008 10:05 AM
Complete Characters Following Camera vTony Vizard 2 10-15-2008 11:43 PM
How to cut out the heads of the complete characters? VDong Vizard 2 09-26-2008 05:27 PM
animating built-in vizard male and female avatars vAlexia Vizard 2 09-19-2006 01:06 PM


All times are GMT -7. The time now is 06:43 AM.


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