![]() |
|
#1
|
|||
|
|||
|
a reflective action
Code:
import viz
viz.go()
#Initialize avatar
male = viz.add('vcc_male.cfg')
male.setPosition(0,0,5)
male.setEuler(180,0,0)
ANIM = 10
DUR = male.getDuration(ANIM)
#Start animation
male.execute(ANIM)
male.setAnimationSpeed(ANIM,0) #Speed must be set after animation is executed
#Use slider to modify animation time
slider = viz.addSlider(pos=(0.5,0.1,0))
def myslider(pos):
male.setAnimationTime(ANIM,pos*DUR-0.01)
vizact.onslider(slider,myslider)
|
|
#2
|
|||
|
|||
|
There is no easy way to do this within the script. Your best bet is to mirror the animation within a modelling program, like 3dsMax, and re-exporting the animation.
|
|
#3
|
|||
|
|||
|
I dont even know how to do that....I am somewhat new to 3dsmax
|
![]() |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Vizard tech tip: Blinking Avatars | Jeff | Vizard | 3 | 11-24-2009 02:16 PM |
| adding more than 1 action for avatar animation slider control | yak | Vizard | 0 | 07-21-2009 12:22 PM |
| how can I stop an action? | nlfrnassimi | Vizard | 4 | 02-13-2009 01:59 AM |
| delays with <avatar>.act and speech | vsully | Vizard | 15 | 08-23-2007 05:24 PM |
| download problems & avatar action | vgracie | Vizard | 1 | 09-14-2006 12:29 PM |