Hi Jeff,
Sounds like a good idea! However, I've tried to print the eulers (also tried quaternions) of the eye related bones, while running one of the standard animations and was unable to detect changes in eulers (or quaternions) of those bones. So I don't know how the HD character blinks during the standard animations. In its cfg file, no blink morph is specified, so blinking is not accomplished through applying a moprh. Any suggestions?
Code:
import viz
import vizact
viz.go()
avatar = viz.add('vcc_male2.cfg', pos = [0,.15,.25], euler = [180,0,0])
avatar.state(1)
boneList = []
for bone in avatar.getBoneList():
if 'Eye' in bone.getName() and not (('brow' in bone.getName()) or 'Nub' in bone.getName()):
boneList.append(bone)
def printInfo():
for bone in boneList:
print bone.getName(), bone.getEuler()
vizact.ontimer(viz.FASTEST_EXPIRATION, printInfo)