Thread: look, no hands
View Single Post
  #4  
Old 08-02-2006, 09:40 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Will you please provide us with a script that recreates the disappearing hands problem. I would like to get this fixed as soon as possible. Please include all your resources in the sample. Also, which version of Vizard are you using?

If you want to billboard an avatar with a face attached it is probably best to manually perform the billboarding. Here is a sample script that shows how to perform this:
Code:
import viz
viz.go()

male = viz.add('male.cfg')
face = viz.add('biohead_talk.vzf')

male.setFace(face)

def BillboardAvatar():
	p1 = male.getPosition()
	p2 = viz.MainView.getPosition()
	angle = vizmat.AngleToPoint(p1[0],p1[2],p2[0],p2[2])
	male.setEuler(angle,0,0)
vizact.ontimer(0,BillboardAvatar)
Reply With Quote