Vizard tech tip: Blinking Avatars
Vizard's vcc avatars come with morph targets for blinking, eyebrow raising, and talking. Check out the following snippet of code to get your avatars to blink.
Code:
import viz Code:
EYEBROW_MORPH = 1 Code:
female.addAction(blinkAction, pool = 1) |
Thanks very much.
One oddity...the manual does not mention that morph has a 3rd argument. What does this third argument mean? |
Here is what the manual page for
Set the percentage of a morph num percent ) ...see the first number is num, the second is percent and their is no third argument specified. I'm finding that when I delete your 3rd argument, I get an error. |
Ah, I've answered my own question....
The third argument appears to be a speed related argument. 0.1 is a fast blink. 0.9 gives us a very slow blink. (I determined this by trying the code verbatim above....I first tried it on my own code and I am not getting good results). |
All times are GMT -7. The time now is 05:10 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC