View Single Post
  #2  
Old 10-17-2017, 05:17 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,448
After changing the name of the model file for the head and hands avatar in the vizconnect file:

Code:
rightHandFilename = 'Tactical_GloveRight.cfg'
Change the code where the model is added from:
Code:
if rightHandFilename:
	rightHand = avatar.add(rightHandFilename)
	avatar.rightHandFilename = rightHandFilename
to:
Code:
if rightHandFilename:
	rightHand = vizfx.addAvatar(rightHandFilename)
	rightHand.setParent(avatar)
	avatar.rightHandFilename = rightHandFilename
In order for the gestures to work, the bones names of your hand model should match the names of the included glove model.
Reply With Quote